JeffreyWay / laravel-elixir-webpack-official

88 stars 28 forks source link

NormalModuleReplacementPlugin #53

Open joshbenhamou opened 7 years ago

joshbenhamou commented 7 years ago

Hi!

I can't figure out how to use a plugin in my gulpfile. As described in ElementUI, I need to add the following plugin:

new webpack.NormalModuleReplacementPlugin(/element-ui[\/\\]lib[\/\\]locale[\/\\]lang[\/\\]zh-CN/, 'element-ui/lib/locale/lang/en')

Any pointers?

Thanks

rodolfosaraiva commented 6 years ago

+1

rodolfosaraiva commented 6 years ago

Joshbenhamou, did you resolved this?

hakhsin commented 5 years ago

hi! I can find out the solution in this page: https://laracasts.com/discuss/channels/elixir/modulesdependency-not-found-using-mocha-webpack-in-a-docker-container