Skip to content

Icons should be transpiled beforehand #2

@hiendv

Description

@hiendv

Reproduce:

  • Run vue init webpack test
  • Add vue-octicon & an icon
  • Run npm run build
  • Watch UglifyJs fail

Workaround: Using this webpack configuration

    {
        test: /\.js$/,
        loader: 'babel-loader',
        include: [resolve('src'), resolve('test'), resolve('node_modules/vue-octicon')]
      },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions