mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
chore: update chobitsu
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
|
||||
.BundleAnalyzerPlugin
|
||||
const BundleAnalyzerPlugin =
|
||||
require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
||||
|
||||
exports = require('./webpack.prod')
|
||||
|
||||
|
||||
@@ -36,6 +36,13 @@ const cssMinifierLoader = {
|
||||
options: {},
|
||||
}
|
||||
|
||||
const rawLoader = {
|
||||
loader: 'raw-loader',
|
||||
options: {
|
||||
esModule: false,
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
entry: './src/index',
|
||||
resolve: {
|
||||
@@ -88,7 +95,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /luna-dom-highlighter\.css$/,
|
||||
use: ['css-loader'],
|
||||
use: [rawLoader],
|
||||
},
|
||||
// https://github.com/wycats/handlebars.js/issues/1134
|
||||
{
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
"postcss-clean": "^1.1.0",
|
||||
"postcss-loader": "^3.0.0",
|
||||
"postcss-prefixer": "^2.1.2",
|
||||
"raw-loader": "^4.0.2",
|
||||
"sass-loader": "^13.0.2",
|
||||
"webpack": "^5.73.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
|
||||
Reference in New Issue
Block a user