Skip to content

Commit

Permalink
removed old build script
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielTerletzkiy committed Dec 26, 2021
1 parent c0e4614 commit 8f028d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const devPresets = ["@babel/preset-env", {
"useBuiltIns": false,
}];
const devPresets = ["@babel/preset-env"];
const buildPresets = ['@babel/preset-env'];

const devPlugins = ["@babel/plugin-transform-runtime"]
module.exports = {
presets: (process.env.NODE_ENV === 'development' ? devPresets : buildPresets),
plugins: (process.env.NODE_ENV === 'development' ? devPlugins : [])
};

0 comments on commit 8f028d2

Please sign in to comment.