datejs / Datejs

A JavaScript Date and Time Library
Other
1.89k stars 483 forks source link

Uncaught ReferenceError: output is not defined #89

Open abhayastudios opened 7 years ago

abhayastudios commented 7 years ago

Did anyone encounter an issue while minifying datejs and got the error in the title? I am using it in my Ionic2 project which uses rollup and as part of the build process creates a minified JS bundle... I installed DateJS using npm.

virtualpatterns commented 7 years ago

I do as well. No answer yet, I just started using it and getting this error. I'm using webpack/babel with the following modules ...

  'module': {
    'loaders': [
      {
        'test': /\.pug$/,
        'loader': 'pug-loader?pretty=true'
      },
      {
        'test': /\.js$/,
        'loader': 'babel-loader'
      }
    ]
  }