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

如何 hack 内置的配置? #11

Closed
zaaack opened this issue Mar 8, 2018 · 2 comments
Closed

如何 hack 内置的配置? #11

zaaack opened this issue Mar 8, 2018 · 2 comments

Comments

@zaaack
Copy link

zaaack commented Mar 8, 2018

我想尝试一下加一个 loader 来抽取出 jsx 出来,解决 #5 的问题。。

@qiu8310
Copy link
Owner

qiu8310 commented Mar 8, 2018

所有配置我还没开放,你只能同步源码去重新配置:

  1. 拉下整个代码去,并在根目录下执行 lerna bootstrap
  2. minapp-compiler 项目中启动 npm run watch
  3. 随易修改 minapp-compiler 中的文件都会自动更新(你应该主要修改配置文件 src/config/webpack.config.js
  4. 现在 minapp-cli/dist/index.js 即为最新的 minapp 命令,你可以用它去编译某个项目,如在 minapp-example-ts 目录下执行 node ../minapp-cli/dist/index.js dev 即可看到效果

@zaaack
Copy link
Author

zaaack commented Mar 8, 2018

Ok, 我试试先~

@qiu8310 qiu8310 closed this as completed Mar 11, 2018
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