mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Initial state
This commit is contained in:
19
samples/react/ReactGrid/webpack.config.js
Normal file
19
samples/react/ReactGrid/webpack.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: './ReactApp/boot-client.jsx',
|
||||
output: {
|
||||
path: './wwwroot',
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /\.jsx?$/, loader: 'babel-loader' },
|
||||
{ test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') },
|
||||
{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' }
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new ExtractTextPlugin('main.css')
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user