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
{{ message }}
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
Currently adding poi-preset-babel-minify to a poi project will cause an error to be thrown.
I'm opening this issue so the upstream bug can be tracked incase there's something that needs to be updated here. webpack/webpack-sources#28
92% chunk asset optimization/Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:276
throw new Error(
^
Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping] (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping] (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:110:12)
at /Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:72:17
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-consumer.js:157:14)
at Function.SourceMapGenerator_fromSourceMap [as fromSourceMap] (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/node_modules/source-map/lib/source-map-generator.js:48:24)
at SourceMapSource.node (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/lib/SourceMapSource.js:32:35)
at SourceMapSource.proto.sourceAndMap (/Users/xo/code/agendash/frontend/node_modules/webpack-sources/lib/SourceAndMapMixin.js:30:18)
at getTaskForFile (/Users/xo/.config/yarn/global/node_modules/webpack/lib/SourceMapDevToolPlugin.js:33:30)
at chunk.files.forEach.file (/Users/xo/.config/yarn/global/node_modules/webpack/lib/SourceMapDevToolPlugin.js:91:21)
at Array.forEach (<anonymous>)
at /Users/xo/.config/yarn/global/node_modules/webpack/lib/SourceMapDevToolPlugin.js:89:18
at Array.forEach (<anonymous>)
at Compilation.<anonymous> (/Users/xo/.config/yarn/global/node_modules/webpack/lib/SourceMapDevToolPlugin.js:88:12)
at Compilation.applyPlugins1 (/Users/xo/.config/yarn/global/node_modules/tapable/lib/Tapable.js:75:14)
at self.applyPluginsAsync.err (/Users/xo/.config/yarn/global/node_modules/webpack/lib/Compilation.js:670:11)
at next (/Users/xo/.config/yarn/global/node_modules/tapable/lib/Tapable.js:202:11)
at Compilation.<anonymous> (/Users/xo/code/agendash/frontend/node_modules/babel-minify-webpack-plugin/dist/index.js:119:11)
at next (/Users/xo/.config/yarn/global/node_modules/tapable/lib/Tapable.js:204:14)
at Compilation.compilation.plugin (/Users/xo/.config/yarn/global/node_modules/webpack/lib/ProgressPlugin.js:119:6)
at Compilation.applyPluginsAsyncSeries (/Users/xo/.config/yarn/global/node_modules/tapable/lib/Tapable.js:206:13)
at self.applyPluginsAsync.err (/Users/xo/.config/yarn/global/node_modules/webpack/lib/Compilation.js:666:10)
The text was updated successfully, but these errors were encountered:
Currently adding
poi-preset-babel-minify
to a poi project will cause an error to be thrown.I'm opening this issue so the upstream bug can be tracked incase there's something that needs to be updated here. webpack/webpack-sources#28
The text was updated successfully, but these errors were encountered: