redux-polyglot icon indicating copy to clipboard operation
redux-polyglot copied to clipboard

build a single packed bundle

Open guillaumearm opened this issue 9 years ago • 3 comments

need #37.

  • build a single redux-polyglot.js
  • make a minified version :
    • add minified.js at the root
    • build a redux-polyglot.min.js
    • update doc

guillaumearm avatar Oct 11 '16 20:10 guillaumearm

What difference do you have in mind between minified.js and redux-polyglot.min.js ?

JalilArfaoui avatar Oct 18 '16 21:10 JalilArfaoui

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

guillaumearm avatar Oct 18 '16 22:10 guillaumearm

Take a look here https://webpack.github.io/docs/configuration.html#output-librarytarget

guillaumearm avatar Dec 25 '16 02:12 guillaumearm