redux-polyglot
redux-polyglot copied to clipboard
build a single packed bundle
need #37.
- build a single
redux-polyglot.js - make a minified version :
- add
minified.jsat the root - build a
redux-polyglot.min.js - update doc
- add
What difference do you have in mind between minified.js and redux-polyglot.min.js ?
import { getP } from 'redux-polyglot/dist/redux-polyglot.min'
vs
import { getP } from 'redux-polyglot/minified'
same as https://github.com/Tiqa/redux-polyglot/blob/master/translate.js
Take a look here https://webpack.github.io/docs/configuration.html#output-librarytarget