Skip to content

Commit

Permalink
Updated with Bili for generating bundle and fixed file name issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramveeraghanta committed Aug 30, 2019
1 parent 457ac1f commit e036213
Show file tree
Hide file tree
Showing 6 changed files with 2,660 additions and 2,517 deletions.
11 changes: 11 additions & 0 deletions bili.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
banner: true,
output: {
extractCSS: false,
},
plugins: {
vue: {
css: true
}
}
};
23 changes: 10 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "vue-autoresize-textarea",
"version": "0.10.0",
"description": "A autoresizable textarea component build using autosize",
"version": "0.2.0",
"description": "A auto resizable textarea component build using autosize",
"main": "src/index.js",
"scripts": {
"dev": "webpack -d --watch",
"build": "webpack -p"
"dev": "vue serve ./src/TextAreaAutoResize.vue",
"build": "bili --bundle-node-modules"
},
"repository": {
"type": "git",
Expand All @@ -23,14 +23,11 @@
},
"homepage": "https://github.com/sriramveeraghanta/vue-autoresize-textarea#readme",
"dependencies": {
"autosize": "^4.0.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"css-loader": "^0.28.11",
"file-loader": "^1.1.11",
"vue": "^2.5.16",
"vue-loader": "^14.2.1",
"vue-template-compiler": "^2.5.16",
"webpack": "^3.8.1"
"autosize": "^4.0.0"
},
"devDependencies": {
"bili": "^4.8.1",
"rollup-plugin-vue": "^5.0.1",
"vue-template-compiler": "^2.6.10"
}
}
File renamed without changes.
8 changes: 6 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import autoresize from './components/App.vue'
import TextAreaAutoResize from './TextAreaAutoResize.vue'

export default autoresize
export default {
install(Vue) {
Vue.component("TextAreaAutoResize", TextAreaAutoResize);
}
};
41 changes: 0 additions & 41 deletions webpack.config.js

This file was deleted.

Loading

0 comments on commit e036213

Please sign in to comment.