use import/export in the frontend code
This commit is contained in:
parent
11ae7f857c
commit
702134b3b1
15 changed files with 51 additions and 64 deletions
|
@ -44,9 +44,11 @@ if (conf.env === 'development') {
|
|||
const config = require('../webpack.config.js');
|
||||
config.devtool = 'inline-source-map';
|
||||
const compiler = webpack(config);
|
||||
app.use(webpackDevMiddleware(compiler, {
|
||||
publicPath: config.output.publicPath
|
||||
}));
|
||||
app.use(
|
||||
webpackDevMiddleware(compiler, {
|
||||
publicPath: config.output.publicPath
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
app.engine(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue