diff --git a/src/web/babel.config.js b/src/web/babel.config.js index d83931d..12cd09e 100644 --- a/src/web/babel.config.js +++ b/src/web/babel.config.js @@ -1,29 +1 @@ -module.exports = function(api) { - api.cache(true); - const presets = [ - [ - '@babel/preset-env', - { - targets: { - ie: 9, - chrome: 47, - }, - }, - ], - '@babel/preset-typescript', - ]; - const plugins = [ - [ - '@babel/plugin-proposal-decorators', - { - legacy: true, - }, - ], - '@babel/plugin-proposal-class-properties', - ]; - - return { - presets, - plugins, - }; -}; +module.exports = require('@fui/babel-preset-fineui').configs.base; diff --git a/src/web/index.html b/src/web/index.html index 67133f5..5c08442 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -6,7 +6,7 @@
- +