1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-09 08:32:48 +00:00

add workspace settings

This commit is contained in:
2018-04-05 18:35:43 -05:00
parent 3fca3f02b4
commit 4fbd590a0a

View File

@@ -10,7 +10,7 @@ module.exports = {
app: ['babel-polyfill', './app/app.tsx'],
},
output: {
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, './dist'),
filename: '[name].[hash].js',
},
resolve: {
@@ -47,6 +47,7 @@ module.exports = {
loader: 'file-loader',
options: {
name: 'static/[name].[hash].[ext]',
publicPath: './.',
},
},
],
@@ -60,7 +61,7 @@ module.exports = {
},
},
plugins: [
new CleanWebpackPlugin(['dist'], {
new CleanWebpackPlugin(['./dist'], {
verbose: true,
}),
new ExtractTextPlugin({