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 5f1f55e commit 78c70bcCopy full SHA for 78c70bc
lib/bundle/config.js
@@ -50,12 +50,7 @@ module.exports = generateConfig;
50
function generateConfig({ extensions = [], // eslint-disable-next-line indent
51
externals, format, exports, // eslint-disable-next-line indent
52
esnext, jsx, typescript, // eslint-disable-next-line indent
53
- sourcemaps, sourcemap, compact }, { browsers }) {
54
- if(sourcemap !== undefined) { // for backwards compatibility (explicit error)
55
- abort(`ERROR: ${repr("sourcemap", false)} has been deprecated in ` +
56
- `favor of ${repr("sourcemaps", false)}`);
57
- }
58
-
+ sourcemaps, compact }, { browsers }) {
59
let cfg = { sourcemap: sourcemaps };
60
let plugins = [];
61
0 commit comments