From 900bb5e845c3ad44defbd427cae3d44a4a43321f Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 25 Feb 2023 13:15:44 +0100 Subject: feat: Initial commit --- code/frontpage/babel.config.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 code/frontpage/babel.config.js (limited to 'code/frontpage/babel.config.js') diff --git a/code/frontpage/babel.config.js b/code/frontpage/babel.config.js new file mode 100644 index 0000000..ce9c9de --- /dev/null +++ b/code/frontpage/babel.config.js @@ -0,0 +1,17 @@ +module.exports = { + presets: [ + [ + '@babel/preset-env', + { + targets: { + browsers: [ + // Best practice: https://github.com/babel/babel/issues/7789 + '>=1%', + 'not ie 11', + 'not op_mini all' + ] + } + } + ] + ] +}; \ No newline at end of file -- cgit v1.3