We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc802f commit cc2ae95Copy full SHA for cc2ae95
src/index.js
@@ -8,7 +8,7 @@ const matchImport = /^([\w-]+)(?:\s+as\s+([\w-]+))?/;
8
9
module.exports = (options) => {
10
let importIndex = 0;
11
- let createImportedName =
+ const createImportedName =
12
(options && options.createImportedName) ||
13
((importName /*, path*/) =>
14
`i__const_${importName.replace(/\W/g, "_")}_${importIndex++}`);
0 commit comments