@mpxjs/webpack-plugin 2.6.110 → 2.6.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/web/processScript.js +0 -6
- package/package.json +2 -2
package/lib/web/processScript.js
CHANGED
|
@@ -109,12 +109,6 @@ module.exports = function (script, options, callback) {
|
|
|
109
109
|
import Vue from 'vue'
|
|
110
110
|
import VueRouter from 'vue-router'
|
|
111
111
|
Vue.use(VueRouter)
|
|
112
|
-
import BScroll from '@better-scroll/core'
|
|
113
|
-
import PullDown from '@better-scroll/pull-down'
|
|
114
|
-
import ObserveDOM from '@better-scroll/observe-dom'
|
|
115
|
-
BScroll.use(ObserveDOM)
|
|
116
|
-
BScroll.use(PullDown)
|
|
117
|
-
global.BScroll = BScroll
|
|
118
112
|
global.getApp = function(){}
|
|
119
113
|
global.getCurrentPages = function(){
|
|
120
114
|
if(!global.__mpxRouter) return []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.111",
|
|
4
4
|
"description": "mpx compile core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpx"
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"@types/babel-traverse": "^6.25.4",
|
|
82
82
|
"@types/babel-types": "^7.0.4"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "274251aa90b9c2b22574ad31fe85093c4dedbb27"
|
|
85
85
|
}
|