Skip to content

Commit

Permalink
ENHANCEMENT Expose stand-alone i18n.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Sep 25, 2017
1 parent e9f1f5f commit 5d481e0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/dist/js/i18n.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@ const config = [
}),
],
},
{
name: 'i18n',
entry: {
'i18n': `${PATHS.SRC}/i18n.js`
},
output: {
path: PATHS.DIST,
filename: 'js/[name].js',
},
devtool: (ENV !== 'production') ? 'source-map' : '',
resolve: resolveJS(ENV, PATHS),
externals: externalJS(ENV, PATHS),
module: moduleJS(ENV, PATHS),
plugins: pluginJS(ENV, PATHS),
},
{
name: 'css',
entry: {
Expand Down

0 comments on commit 5d481e0

Please sign in to comment.