版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Tyro_java/article/details/85085939
在 windows 打包直接报错信息
Failed to compile.
./node_modules/@antv/data-set/build/data-set.js
Module build failed: ReferenceError: Unknown plugin "transform-remove-strict-mode" specified in "d:\\work\\..\\node_modules\\@antv\\data-set\\.babelrc" at 0, attempted to resolve relative to "d:\\work\\..\\node_modules\\@antv\\data-set"
备注: 在 mac 上打包正常
github 上的讨论帖
解决方案
版本回退至:0.8.0
"devDependencies": {
"@antv/data-set": "0.8.0",
}