UNPKG

@nypl/dgx-svg-icons

Version:
19 lines (17 loc) 548 B
const webpack = require('webpack'); const WebpackDevServer = require('webpack-dev-server'); const config = require('./webpack.config'); const pkg = require('./package.json'); new WebpackDevServer(webpack(config), { publicPath: config.output.publicPath, hot: true, stats: false, inline: true, historyApiFallback: true }).listen(3000, 'localhost', function (err, result) { if (err) { console.log(err); } console.log('Currently building: ' + pkg.name); console.log('Webpack Development Server listening at localhost:3000'); });