diff --git a/dist/rollup-plugin-typescript2.cjs.js b/dist/rollup-plugin-typescript2.cjs.js index 29bf4e98..b26af05b 100644 --- a/dist/rollup-plugin-typescript2.cjs.js +++ b/dist/rollup-plugin-typescript2.cjs.js @@ -47,8 +47,8 @@ function createCommonjsModule(fn) { return fn(module, module.exports), module.exports; } -function commonjsRequire (target) { - throw new Error('Could not dynamically require "' + target + '". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.'); +function commonjsRequire (path) { + throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } /** diff --git a/dist/rollup-plugin-typescript2.es.js b/dist/rollup-plugin-typescript2.es.js index 00e434aa..670c1e36 100644 --- a/dist/rollup-plugin-typescript2.es.js +++ b/dist/rollup-plugin-typescript2.es.js @@ -16,8 +16,8 @@ function createCommonjsModule(fn) { return fn(module, module.exports), module.exports; } -function commonjsRequire (target) { - throw new Error('Could not dynamically require "' + target + '". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.'); +function commonjsRequire (path) { + throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } /** diff --git a/package-lock.json b/package-lock.json index e9aebeff..af537001 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "tslib": "^2.3.1" }, "devDependencies": { - "@rollup/plugin-commonjs": "17.1.0", + "@rollup/plugin-commonjs": "18.1.0", "@rollup/plugin-node-resolve": "13.2.1", "@types/colors": "1.2.1", "@types/find-cache-dir": "^2.0.0", @@ -72,9 +72,9 @@ } }, "node_modules/@rollup/plugin-commonjs": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", - "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-18.1.0.tgz", + "integrity": "sha512-h3e6T9rUxVMAQswpDIobfUHn/doMzM9sgkMrsMWCFLmB84PSoC8mV8tOloAJjSRwdqhXBqstlX2BwBpHJvbhxg==", "dev": true, "dependencies": { "@rollup/pluginutils": "^3.1.0", @@ -1217,9 +1217,9 @@ } }, "@rollup/plugin-commonjs": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", - "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-18.1.0.tgz", + "integrity": "sha512-h3e6T9rUxVMAQswpDIobfUHn/doMzM9sgkMrsMWCFLmB84PSoC8mV8tOloAJjSRwdqhXBqstlX2BwBpHJvbhxg==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", diff --git a/package.json b/package.json index d0d452c8..c8840d53 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "object-hash": "3.0.0", "rimraf": "3.0.2", "rollup": "^2.48.0", - "@rollup/plugin-commonjs": "17.1.0", + "@rollup/plugin-commonjs": "18.1.0", "@rollup/plugin-node-resolve": "13.2.1", "rollup-plugin-re": "1.0.7", "rollup-plugin-typescript2": "0.31.2",