ml5-save
Version:
25 lines (22 loc) • 565 B
JavaScript
// Copyright (c) 2018 ml5
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
import { join } from 'path';
import merge from 'webpack-merge';
import common from './webpack.common.babel';
import HtmlWebpackPlugin from 'html-webpack-plugin';
export default merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
watchContentBase: true,
contentBase: join(__dirname, './dist'),
disableHostCheck: true,
},
plugins: [
new HtmlWebpackPlugin({
title: 'ml5'
})
]
})