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
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]
The text was updated successfully, but these errors were encountered:
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]
The text was updated successfully, but these errors were encountered: