Giter VIP home page Giter VIP logo

Comments (5)

egoist avatar egoist commented on May 14, 2024 1

Hmm, seems we have to insert rollup-plugin-vue before buble/babel plugin (currently it's append-ed), will fix this later

from bili.

egoist avatar egoist commented on May 14, 2024

Try 0.17.5

from bili.

NemoAlex avatar NemoAlex commented on May 14, 2024
yarn upgrade bili
yarn upgrade v0.24.5
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Rebuilding all packages...
success Saved lockfile.
success Saved 1 new dependency.
└─ [email protected]
✨  Done in 7.29s.
Nemo@mac (master):~/dev/workspace/vue-one-size > yarn build
yarn build v0.24.5
$ bili --plugins vue --compress
'numeral' is imported by src/component.vue, but could not be resolved – treating it as an external dependency
'numeral' is imported by src/component.vue, but could not be resolved – treating it as an external dependency
Using named and default exports together. Consumers of your bundle will have to use vueOneSize['default'] to access the default export, which may not be what you want. Use `exports: 'named'` to disable this warning
Using named and default exports together. Consumers of your bundle will have to use vueOneSize['default'] to access the default export, which may not be what you want. Use `exports: 'named'` to disable this warning
{ Error: Error transforming bundle with 'uglify' plugin: Unexpected token: punc (()
    at error (/Users/Nemo/dev/workspace/vue-one-size/node_modules/rollup/dist/rollup.js:177:12)
    at /Users/Nemo/dev/workspace/vue-one-size/node_modules/rollup/dist/rollup.js:9456:5
    at process._tickCallback (internal/process/next_tick.js:109:7)
    at Module.runMain (module.js:606:11)
    at run (bootstrap_node.js:393:7)
    at startup (bootstrap_node.js:150:9)
    at bootstrap_node.js:508:3 code: 'BAD_BUNDLE_TRANSFORMER', plugin: 'uglify' }
Error transforming bundle with 'uglify' plugin: Unexpected token: punc (()
error Command failed with exit code 1.

from bili.

egoist avatar egoist commented on May 14, 2024

Try 0.17.7 😅

from bili.

NemoAlex avatar NemoAlex commented on May 14, 2024

Works fine now.
Thank you!

from bili.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.