Commit b207001c by 万亚飞

fix

parent bc1342f7
......@@ -68,7 +68,16 @@ module.exports = {
},
{
test: /\.(css)$/,
loader: 'css-loader'
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {
modules: false,
localIdentName: 'css/[local]--[hash:base64:5]'
}
}
]
},
{
test: /\.(less)$/,
......
......@@ -6,7 +6,6 @@ import storage from '@/utils/storage.plugin';
import { PhotoSwipeGallery } from 'react-photoswipe';
import * as qiniu from 'qiniu-js';
import API from './api';
import '@/static/styles/photoswipe.css';
class UpLoad extends Component {
state = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment