mirror of
https://github.com/mgerb/react-starter
synced 2026-01-09 16:42:48 +00:00
add workspace settings
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
|||||||
app: ['babel-polyfill', './app/app.tsx'],
|
app: ['babel-polyfill', './app/app.tsx'],
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, './dist'),
|
||||||
filename: '[name].[hash].js',
|
filename: '[name].[hash].js',
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
@@ -47,6 +47,7 @@ module.exports = {
|
|||||||
loader: 'file-loader',
|
loader: 'file-loader',
|
||||||
options: {
|
options: {
|
||||||
name: 'static/[name].[hash].[ext]',
|
name: 'static/[name].[hash].[ext]',
|
||||||
|
publicPath: './.',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -60,7 +61,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(['dist'], {
|
new CleanWebpackPlugin(['./dist'], {
|
||||||
verbose: true,
|
verbose: true,
|
||||||
}),
|
}),
|
||||||
new ExtractTextPlugin({
|
new ExtractTextPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user