标签: webpack ng-admin
我是webpack的新手,我正在尝试将我们的项目从rails资产管道迁移到Webpack。使用webpack预编译ng-admin.min.js时,我在Cannot set property 'rangy' of undefined文件的行global.rangy = require('rangy');中收到ng-admin/src/javascripts/vendors.js错误。
ng-admin.min.js
Cannot set property 'rangy' of undefined
global.rangy = require('rangy');
ng-admin/src/javascripts/vendors.js