Github integration

This commit is contained in:
2018-07-17 00:34:42 +05:30
parent d6934656d2
commit a5996f1f2d
16 changed files with 17396 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: ['./src/js/index.js'],
entry: ['./src/js/app.js'],
output: {
path: __dirname + '/dist',
filename: './bundle.js'
@@ -9,12 +9,14 @@ module.exports = {
module: {
rules: [
{ test: /.js/, loader: 'babel-loader', exclude: /node_modules/ },
{ test: /.html/, loader: 'raw-loader', exclude: /node_modules/ }
{ test: /.html/, loader: 'raw-loader', exclude: /node_modules/ },
{ test: /\.(s*)css$/, use: ['style-loader', 'css-loader', 'sass-loader']}
]
},
plugins: [
new HtmlWebpackPlugin({
template: './public/index.html'
// template: './test.html'
})
],
mode: 'development'