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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user