This repository was archived by the owner on Jan 18, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 149
Cannot find module 'babel-runtime/regenerator'
after upgrade
#59
Comments
Can you share your |
package.json : {
"name": "vue-qrious",
"version": "0.0.3",
"description": "a vue component of generating qrcode with `qrious`",
"main": "dist/vue-qrious",
"repository": "[email protected]:JounQin/vue-qrious.git",
"author": "JounQin <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "rollup -c --watch",
"build": "rollup -c",
"build:prod": "cross-env NODE_ENV=production yarn build",
"dist": "yarn build && yarn build:prod"
},
"dependencies": {
"qrious": "^2.2.0"
},
"devDependencies": {
"babel-runtime": "^6.22.0",
"cross-env": "^3.1.4",
"rollup": "^0.41.4",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-uglify": "^1.0.1",
"rollup-plugin-vue": "^2.3.0-beta.1",
"rollup-watch": "^3.2.2"
}
} rollup.config.js : import buble from 'rollup-plugin-buble'
import vue from 'rollup-plugin-vue'
import uglify from 'rollup-plugin-uglify'
const pkg = require('./package.json')
const NODE_ENV = process.env.NODE_ENV || 'development'
const isProd = NODE_ENV === 'production'
const plugins = [vue({
compileTemplate: true
}), buble()]
isProd && plugins.push(uglify({
output: {
comments: true
}
}))
export default {
banner: `/*!
* ${pkg.name} ${pkg.description}
* Version ${pkg.version}
* Copyright (C) 2017 JounQin <[email protected]>
* Released under the MIT license
*
* Github: https://github.com/JounQin/vue-qrious
*/`,
entry: 'lib/index.vue',
dest: `dist/vue-qrious${isProd ? '.min' : ''}.js`,
plugins,
format: 'umd',
external: ['qrious'],
globals: {
qrious: 'QRious'
},
moduleId: 'vue-qrious',
moduleName: 'VueQrious'
} I add |
Thanks @JounQin I'll fix it tomorrow. |
^ Released Beta 2 |
@znck |
On it! 😑 |
znck
added a commit
that referenced
this issue
Feb 27, 2017
* 📝 TODO: Add usage guidelines * Fix image position * 💩 Add less support * Refactoring * Choose minimal defaults * Add missing dependency Fixes #59 * CSS source maps * Add script in logs * Allow custom injections & script processors * Add coffee support
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Should it be a dependency or peerDependency of
rollup-plugin-vue
inside?The text was updated successfully, but these errors were encountered: