Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Make generated helper file have .js extension in preserveModules mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Caswell committed Feb 7, 2019
1 parent 58e9aa5 commit f80b2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.js
@@ -1,6 +1,6 @@
export const PROXY_PREFIX = '\0commonjs-proxy:';
export const EXTERNAL_PREFIX = '\0commonjs-external:';
export const HELPERS_ID = '\0commonjsHelpers';
export const HELPERS_ID = '\0commonjsHelpers.js';

export const HELPERS = `
export var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
Expand Down

0 comments on commit f80b2db

Please sign in to comment.