Skip to content

Commit aa5f905

Browse files
committed
rm jquery
1 parent 9768305 commit aa5f905

File tree

9 files changed

+1
-20
lines changed

9 files changed

+1
-20
lines changed

README-en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ npm run build:prod
105105
│   ├── App.vue // entry view
106106
│   └── main.js // entry for loading components, initialization
107107
├── static // third-party libraries not packed with Webpack
108-
│   ├── jquery
109108
│   └── Tinymce // rich text
110109
├── .babelrc // babel-loader config
111110
├── eslintrc.js // eslint config

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
│   ├── App.vue // 入口页面
117117
│   └── main.js // 入口 加载组件 初始化等
118118
├── static // 第三方不打包资源
119-
│   ├── jquery
120119
│   └── Tinymce // 富文本
121120
├── .babelrc // babel-loader 配置
122121
├── eslintrc.js // eslint 配置项

build/webpack.base.conf.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ module.exports = {
3535
'static': path.resolve(__dirname, '../static')
3636
}
3737
},
38-
externals: {
39-
jquery: 'jQuery'
40-
},
4138
module: {
4239
rules: [
4340
// {

build/webpack.dev.conf.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ module.exports = merge(baseWebpackConfig, {
2929
new webpack.DefinePlugin({
3030
'process.env': config.dev.env
3131
}),
32-
new webpack.ProvidePlugin({
33-
$: 'jquery',
34-
'jQuery': 'jquery'
35-
}),
3632
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
3733
new webpack.HotModuleReplacementPlugin(),
3834
new webpack.NoEmitOnErrorsPlugin(),

build/webpack.prod.conf.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ var webpackConfig = merge(baseWebpackConfig, {
106106
from: path.resolve(__dirname, '../static'),
107107
to: config.build.assetsSubDirectory,
108108
ignore: ['.*']
109-
}]),
110-
new webpack.ProvidePlugin({
111-
$: 'jquery',
112-
'jQuery': 'jquery'
113-
})
109+
}])
114110
]
115111
})
116112
if (config.build.bundleAnalyzerReport) {

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<title>Juicy</title>
99
</head>
1010
<body>
11-
<script src=<%= htmlWebpackPlugin.options.path %>/jquery.min.js></script>
1211
<script src=<%= htmlWebpackPlugin.options.path %>/tinymce/tinymce.min.js></script>
1312
<div id="app"></div>
1413
<!-- built files will be auto injected -->

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"echarts": "3.6.2",
2020
"element-ui": "1.4.2",
2121
"file-saver": "1.3.3",
22-
"jquery": "3.1.1",
2322
"js-cookie": "2.1.4",
2423
"jsonlint": "1.6.2",
2524
"mockjs": "1.0.1-beta3",

static/.gitkeep

Whitespace-only changes.

static/jquery.min.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)