Skip to content

Commit c43e7e5

Browse files
update bundle config (visgl#5949)
1 parent bf422fc commit c43e7e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/bundle.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ const config = {
6262
loader: 'babel-loader',
6363
include: [/src/, /bundle/, /esm/],
6464
options: {
65-
presets: [['@babel/preset-env', {forceAllTransforms: true}]],
65+
presets: [['@babel/preset-env', {
66+
targets: ["supports webgl", "not dead"]
67+
}]],
6668
// all of the helpers will reference the module @babel/runtime to avoid duplication
6769
// across the compiled output.
6870
plugins: [

0 commit comments

Comments
 (0)