Comments (5)
Hmm, seems we have to insert rollup-plugin-vue before buble/babel plugin (currently it's append-ed), will fix this later
from bili.
Try 0.17.5
from bili.
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.
Try 0.17.7 😅
from bili.
Works fine now.
Thank you!
from bili.
Related Issues (20)
- Incorrect transforming break inside switch-case
- Switch to @rollup/plugin-typescript HOT 1
- banner is duplicated in umd-min format HOT 1
- Bili as bundler for UI component libraries HOT 2
- CSS Modules aren't tree shaked
- Migrate from rollup-plugin-typescript2 to rollup-plugin-ts
- [feature request] Use bili to create a project from scratch HOT 2
- Breaking change of ESM format filenames HOT 3
- I want import file automatic like require.context HOT 1
- Cant build babel-template in umd format HOT 3
- No error when passed a non-existent config file HOT 1
- Warning when using a default export
- Need clarifications: Warns when fileName extension is .mjs for ESM and Node.js v14
- bili --bundle-node-modules omits modules in v5
- Proposal: Add pre build validation hooks
- missing_name_option_for_iife_export
- normalizeConfig excludes dependencies from build HOT 1
- Error: You have declared using "bundled" babelHelpers, but transforming index.ts resulted in "runtime" HOT 4
- dependencies
- Docs borked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bili.