mirror of
https://github.com/maputnik/editor.git
synced 2026-06-15 03:37:27 +00:00
Fixes for breaking changes
- new webpack dev server options - babel support for async functions in hooks - new uuid import style - automatically open browser for testing
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
var webpack = require('webpack');
|
||||
var path = require('path');
|
||||
var rules = require('./webpack.rules');
|
||||
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
@@ -52,9 +51,10 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
},
|
||||
optimization: {
|
||||
noEmitOnErrors: true,
|
||||
},
|
||||
plugins: [
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
title: 'Maputnik',
|
||||
template: './src/template.html'
|
||||
|
||||
Reference in New Issue
Block a user