Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng2-translate with webpack does not work without copy-webpack-plugin #325

Closed
protagonist51 opened this issue Nov 18, 2016 · 3 comments
Closed

Comments

@protagonist51
Copy link

ng2-translate with webpack does not work without copy-webpack-plugin
The following example https://github.com/ocombe/ng2-translate/tree/master/examples/webpack is not working without copy-webpack-plugin. It needs to be used webpack.config.js to copy the JSON files to the build folder. @ocombe please update these (path as per the folder structure)
var CopyWebpackPlugin = require('copy-webpack-plugin'); plugins: [ new CopyWebpackPlugin([ { from: 'src/i18n', to: 'dist/assets/i18n' } ]) ]

Environment:

  • ng2-translate version: 4.0.0

  • Angular version: 2.1.0-rc.5

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES5]

@ocombe
Copy link
Collaborator

ocombe commented Nov 18, 2016

Hello,

Would you like to do a PR for that ?

@stephengeorgewest
Copy link
Contributor

Created a pull request. #356

@ocombe
Copy link
Collaborator

ocombe commented Dec 21, 2016

This has been merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants