mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-01 13:36:55 +08:00
build: webpack config case sensitive
This commit is contained in:
parent
1d2c1db87a
commit
1a072a7bba
@ -6,6 +6,7 @@ const webpack = require('webpack')
|
||||
const config = require('./config')
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
const VueLoaderPlugin = require('vue-loader/lib/plugin')
|
||||
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin')
|
||||
|
||||
const webpackConfig = {
|
||||
mode: 'development',
|
||||
@ -38,6 +39,7 @@ const webpackConfig = {
|
||||
rules: config.docLoaders()
|
||||
},
|
||||
plugins: [
|
||||
new CaseSensitivePathsPlugin(),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './demo/index.tpl',
|
||||
|
@ -57,6 +57,7 @@
|
||||
"babel-plugin-syntax-jsx": "^6.18.0",
|
||||
"babel-plugin-transform-vue-jsx": "^3.7.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"case-sensitive-paths-webpack-plugin": "^2.3.0",
|
||||
"chai": "^4.2.0",
|
||||
"copy-webpack-plugin": "^5.1.1",
|
||||
"cors": "^2.8.5",
|
||||
@ -122,9 +123,9 @@
|
||||
"webpack-dev-server": "^3.10.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@css-render/plugin-bem": "^0.8.5",
|
||||
"@css-render/plugin-bem": "^0.9.2",
|
||||
"async-validator": "^1.11.5",
|
||||
"css-render": "^0.8.5",
|
||||
"css-render": "^0.9.2",
|
||||
"date-fns": "^2.9.0",
|
||||
"highlight.js": "^9.18.1",
|
||||
"lodash-es": "^4.17.15",
|
||||
|
Loading…
Reference in New Issue
Block a user