|
@@ -14,6 +14,18 @@ module.exports = {
|
|
|
core: {
|
|
|
builder: 'webpack5',
|
|
|
},
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ babel: async (options) => ({
|
|
|
+ ...options,
|
|
|
+ plugins: [],
|
|
|
+ presets: [
|
|
|
+ ['@babel/preset-typescript', { allowDeclareFields: true }],
|
|
|
+ ['@babel/preset-react', { runtime: 'automatic' }],
|
|
|
+ ],
|
|
|
+ }),
|
|
|
webpackFinal: (config) => {
|
|
|
|
|
|
|