Strange Lines on top on build/index.js file
See original GitHub issueI have created my vue plugin but there are errors when I built with bili, these lines appear on top of the build/index.js file
/*!
* vue-easy-printer v1.0.0
* (c) loicgeek
* Released under the MIT License.
*/
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var __vue_normalize__ = _interopDefault(require('F:PERSONNALue-easy-printer
ode_modules
ollup-plugin-vue
untime
ormalize.js'));
var __vue_create_injector__ = _interopDefault(require('F:PERSONNALue-easy-printer
ode_modules
ollup-plugin-vue
untimerowser.js'));
that is my package.json file
"name": "vue-easy-printer",
"version": "1.0.0",
"private": false,
"description": "The Best Vue Plugin To convert Html page, Components to pdf",
"main": "./dist/index.js",
"keywords": [
"Vuejs",
"html",
"pdf"
],
"files": [
"dist/*"
],
"scripts": {
"build": "bili --name index --plugin vue "
},
"author": "loicgeek",
"license": "MIT",
"devDependencies": {
"bili": "^4.8.1",
"rollup-plugin-vue": "^5.1.2",
"vue-template-compiler": "^2.6.10"
}
}
And my bili.config.js file
module.exports = {
banner: true,
output: {
extractCSS: false,
},
plugins: {
vue: {
css: true
}
}
};
To run the build process , i ran :
npx bili --bundle-node-modules
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
node.js - Strange Create-React-App Heroku Error - Cannot GET
Ahhh! I think I see the problem lol. You're not serving the index.html file from your express server. paste this code into your...
Read more >Error in create new app. · Issue #1639 · infinitered/ignite - GitHub
anyway, i have a stupid workaround. in file %USERPROFILE%\AppData\Roaming\npm\node_modules\ignite-cli\build\commands\new.js on line 90 ...
Read more >Bundling and Building with Parcel - Beginner JavaScript
The first thing we need is a package.json. A package.json is a file that contains information about your dependencies, what scripts you have...
Read more >How to Create Index.js File in Node? - KnowledgeHut
In this article, you will learn how to create an index.js file using Node, node index.js command, and examples. So, if you're ready, ......
Read more >Surviving the TypeScript Ecosystem — Part 4 - Medium
DefinitelyTyped in a community-sourced repository of type definition files. If you are trying to use a JavaScript library in your TypeScript code there...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
rollup-plugin-vue
is broken in version5.1.2
. Version5.1.1
works fine.ah lol i trought its built in