AG-195 Create react example using grouped data
This commit is contained in:
27
webpack.config.grouped.js
Normal file
27
webpack.config.grouped.js
Normal file
@@ -0,0 +1,27 @@
|
||||
module.exports = {
|
||||
entry: "./src-grouped/index.js",
|
||||
output: {
|
||||
path: __dirname,
|
||||
filename: "dist/bundle.js"
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
loader: "style!css"
|
||||
},
|
||||
{
|
||||
test: /\.js$|\.jsx$/,
|
||||
loader: 'babel-loader',
|
||||
query: {
|
||||
presets: ['react', 'es2015']
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"ag-grid-root" : __dirname + "/node_modules/ag-grid"
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user