Add basic chart with grid story + Fix all build config

This commit is contained in:
2018-06-28 14:04:45 +05:30
parent efcf4febaa
commit cf246a1778
6 changed files with 117 additions and 6 deletions
+22 -2
View File
@@ -10,9 +10,29 @@ module.exports = {
plugins: [
// your custom plugins
],
resolve: {
// Add `.ts` and `.tsx` as a resolvable extension.
extensions: ['.ts', '.tsx', '.js']
},
module: {
rules: [
// add your custom rules.
],
{ test: /\.js$/, loader: 'babel-loader' },
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
{ test: /\.tsx?$/, loader: 'babel-loader!ts-loader' },
{
test: /\.css$/,
use: [
{
loader: 'style-loader',
},
{
loader: 'css-loader',
options: {
sourceMap: true,
},
},
],
},
]
},
};