babel-plugin-jsx/scripts/dev.js
Kael 1ab8483933
feat: allow string arguments on directives (#496)
* chore: update dependencies

* feat: allow string arguments on directives

resolves #325
2021-09-22 10:27:50 +08:00

17 lines
381 B
JavaScript

const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const webpackConfig = require('./webpack.base.conf');
const compiler = webpack(webpackConfig);
const devServerOptions = {
inline: true,
open: true,
hot: true,
overlay: false,
};
const server = new WebpackDevServer(compiler, devServerOptions);
server.listen(8080, '127.0.0.1');