Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Open
hodor-cn opened this issue Nov 21, 2014 · 2 comments
Open

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

hodor-cn opened this issue Nov 21, 2014 · 2 comments

Comments

@hodor-cn
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

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

No branches or pull requests

2 participants