add config files
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"presets": ["@babel/preset-react", "@babel/preset-env"],
|
||||||
|
"plugins": [
|
||||||
|
["react-intl", {
|
||||||
|
"messagesDir": "./src/i18n/"
|
||||||
|
}]
|
||||||
|
]
|
||||||
|
}
|
||||||
Generated
+9202
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,16 @@
|
|||||||
|
module.exports = config = {
|
||||||
|
entry: [
|
||||||
|
'./src/index.js',
|
||||||
|
],
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /src\/.*\.jsx?$/,
|
||||||
|
loaders: [
|
||||||
|
'babel-loader',
|
||||||
|
],
|
||||||
|
exclude: /node_modules/,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user