Built out form ajax requesting, needs some more testing

This commit is contained in:
2018-07-04 21:40:19 +10:00
parent e4eb653a88
commit bd77bf6696
8 changed files with 169 additions and 31 deletions

View File

@@ -20,6 +20,8 @@ module.exports = {
path: '/dist',
filename: "app.js"
},
mode: 'development',
resolve: {
modules: ['node_modules', './public'],
@@ -55,6 +57,9 @@ module.exports = {
// initialize the added webpack plugins
plugins: [
HTMLWebpackPluginConfig,
new webpack.HotModuleReplacementPlugin()
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
DEVELOPMENT: JSON.stringify(true)
})
]
};