rm jquery
This commit is contained in:
parent
9768305166
commit
aa5f9059b3
9 changed files with 1 additions and 20 deletions
|
@ -105,7 +105,6 @@ npm run build:prod
|
|||
│ ├── App.vue // entry view
|
||||
│ └── main.js // entry for loading components, initialization
|
||||
├── static // third-party libraries not packed with Webpack
|
||||
│ ├── jquery
|
||||
│ └── Tinymce // rich text
|
||||
├── .babelrc // babel-loader config
|
||||
├── eslintrc.js // eslint config
|
||||
|
|
|
@ -116,7 +116,6 @@
|
|||
│ ├── App.vue // 入口页面
|
||||
│ └── main.js // 入口 加载组件 初始化等
|
||||
├── static // 第三方不打包资源
|
||||
│ ├── jquery
|
||||
│ └── Tinymce // 富文本
|
||||
├── .babelrc // babel-loader 配置
|
||||
├── eslintrc.js // eslint 配置项
|
||||
|
|
|
@ -35,9 +35,6 @@ module.exports = {
|
|||
'static': path.resolve(__dirname, '../static')
|
||||
}
|
||||
},
|
||||
externals: {
|
||||
jquery: 'jQuery'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
// {
|
||||
|
|
|
@ -29,10 +29,6 @@ module.exports = merge(baseWebpackConfig, {
|
|||
new webpack.DefinePlugin({
|
||||
'process.env': config.dev.env
|
||||
}),
|
||||
new webpack.ProvidePlugin({
|
||||
$: 'jquery',
|
||||
'jQuery': 'jquery'
|
||||
}),
|
||||
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
|
|
|
@ -106,11 +106,7 @@ var webpackConfig = merge(baseWebpackConfig, {
|
|||
from: path.resolve(__dirname, '../static'),
|
||||
to: config.build.assetsSubDirectory,
|
||||
ignore: ['.*']
|
||||
}]),
|
||||
new webpack.ProvidePlugin({
|
||||
$: 'jquery',
|
||||
'jQuery': 'jquery'
|
||||
})
|
||||
}])
|
||||
]
|
||||
})
|
||||
if (config.build.bundleAnalyzerReport) {
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<title>Juicy</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src=<%= htmlWebpackPlugin.options.path %>/jquery.min.js></script>
|
||||
<script src=<%= htmlWebpackPlugin.options.path %>/tinymce/tinymce.min.js></script>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
"echarts": "3.6.2",
|
||||
"element-ui": "1.4.2",
|
||||
"file-saver": "1.3.3",
|
||||
"jquery": "3.1.1",
|
||||
"js-cookie": "2.1.4",
|
||||
"jsonlint": "1.6.2",
|
||||
"mockjs": "1.0.1-beta3",
|
||||
|
|
4
static/jquery.min.js
vendored
4
static/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue