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

配置项对webpack的resolve的支持 #42

Open
ishenli opened this issue Nov 16, 2015 · 2 comments
Open

配置项对webpack的resolve的支持 #42

ishenli opened this issue Nov 16, 2015 · 2 comments

Comments

@ishenli
Copy link

ishenli commented Nov 16, 2015

在项目中有个调用resolve.alias的需求,但是简单地看了下代码和配置说明文档,好像没有关于resolve的配置

build.js的155行里面

var args = {
    resolve: {
      extensions: ['', '.js', '.jsx']
    }

这个能否在package.json的build目录下,加个resolve配置项,来达到自定义配置的目的?

@soda-x
Copy link
Contributor

soda-x commented Nov 16, 2015

嗯 目前不支持. 后续 spm 会有大的变更 功能暂时不加了.
欢迎提PR

@ishenli
Copy link
Author

ishenli commented Nov 16, 2015

好的,如果有大的变更的话,我这个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