You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting ES6 bundle format for a js file with imprts to IIFE, the setting gets someimes lost. The setting reverts to "Do not bundle ES6 modules"
Expected results:
Bundling the js file and its import into IIFE.
Actual results:
The browser produces a JS Error: Uncaught SyntaxError: Cannot use import statement outside a module (at filename.min.js:1:3494) -> makes sense, because I do not have a module declared.
Exact steps to reproduce:
Hard to say, because I cannot say when the setting is lost. Create a JS file, import a module, set ES6 bundle format to IIFE. Change and save often.
A link to download a simplified project or file that shows the issue:
Your configuration (any details about your system that you think might be relevant)
ES6 bundle format -> IIFE
Minify output with Terser: always
Create source map: always
The text was updated successfully, but these errors were encountered:
Are you branch-switching in Git? The most common cause of "settings randomly change on me" is switching git branches to a different version of the CodeKit config file.
Quick, short summary:
When setting ES6 bundle format for a js file with imprts to IIFE, the setting gets someimes lost. The setting reverts to "Do not bundle ES6 modules"
Expected results:
Bundling the js file and its import into IIFE.
Actual results:
The browser produces a JS Error: Uncaught SyntaxError: Cannot use import statement outside a module (at filename.min.js:1:3494) -> makes sense, because I do not have a module declared.
Exact steps to reproduce:
Hard to say, because I cannot say when the setting is lost. Create a JS file, import a module, set ES6 bundle format to IIFE. Change and save often.
A link to download a simplified project or file that shows the issue:
Your configuration (any details about your system that you think might be relevant)
ES6 bundle format -> IIFE
Minify output with Terser: always
Create source map: always
The text was updated successfully, but these errors were encountered: