Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

设置了map加了版本号的时候有问题 #17

Open
hodorwang opened this issue Nov 21, 2014 · 2 comments
Open

设置了map加了版本号的时候有问题 #17

hodorwang opened this issue Nov 21, 2014 · 2 comments

Comments

@hodorwang
Copy link

设置了map加了版本号的时候有问题,匹配不到


            map: [
                function (uri){
                    if(!/-debug\.[^\.]+$/.test(uri)){
                        return uri.replace(/^(.*)(\.[^\.]+)$/i, '$1' + (config.debugState() ? '-debug$2?version=' : '$2?version=' ) + config.version);
                    }
                }
            ]
@vikyd
Copy link

vikyd commented Mar 31, 2017

+1

@vikyd
Copy link

vikyd commented Mar 31, 2017

@hodor-cn

fork 并处理了包含query string的版本号:https://github.com/Viky-zhang/seajs-text

已提 pr

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants