Skip to content

Commit

Permalink
修改:
Browse files Browse the repository at this point in the history
  * mega-cli配置开发免配置处理。
  • Loading branch information
zenjava committed May 19, 2020
1 parent 1e15df0 commit 8510b3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lugia.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
const config = require('./lugia.config.json');
let config = require('./lugia.config.json');

if (process.env.NODE_ENV === 'development') {
config = {
publicPath: '/'
};
}
export default {
...config,
disableCSSModules: true,
Expand Down

0 comments on commit 8510b3f

Please sign in to comment.