Roughing out the demo app

This commit is contained in:
Nate Taylor
2019-10-23 07:41:03 -05:00
parent 5bc58a2d40
commit 94be06d3c4
2841 changed files with 274065 additions and 2 deletions

21
node_modules/json-server/webpack.config.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
module.exports = {
entry: './src/front/index.js',
module: {
rules: [
{ test: /\.css$/, use: [MiniCssExtractPlugin.loader, 'css-loader'] },
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }
]
},
plugins: [
new CleanWebpackPlugin(),
new HtmlWebpackPlugin({
favicon: 'src/front/favicon.ico',
template: 'src/front/index.html'
}),
new MiniCssExtractPlugin()
]
}