mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-13 03:43:50 +02:00
cleanup npm packages
This commit is contained in:
5708
html/package-lock.json
generated
5708
html/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "vrcx",
|
||||
"name": "vrcx-html",
|
||||
"version": "0.0.0",
|
||||
"description": "VRCX is an assistant application for provide information about manage friendship. this application uses unofficial VRChat API (VRCSDK).",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "npx webpack --mode production",
|
||||
@@ -19,17 +18,5 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/pypy-vrc/VRCX/issues"
|
||||
},
|
||||
"homepage": "https://github.com/pypy-vrc/VRCX#readme",
|
||||
"devDependencies": {
|
||||
"css-loader": "^3.6.0",
|
||||
"html-webpack-plugin": "^4.3.0",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"pug": "^2.0.4",
|
||||
"pug-loader": "^2.4.0",
|
||||
"remove-files-webpack-plugin": "^1.4.3",
|
||||
"sass": "^1.26.9",
|
||||
"sass-loader": "^8.0.2",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack-cli": "^3.3.12"
|
||||
}
|
||||
"homepage": "https://github.com/pypy-vrc/VRCX#readme"
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const RemovePlugin = require('remove-files-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
app: ['./src/app.js', './src/app.scss'],
|
||||
'app.dark': './src/app.dark.scss',
|
||||
vr: ['./src/vr.js', './src/vr.scss']
|
||||
},
|
||||
output: {
|
||||
path: __dirname,
|
||||
filename: '[name].js'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.s?css$/,
|
||||
use: [
|
||||
MiniCssExtractPlugin.loader,
|
||||
'css-loader',
|
||||
'sass-loader'
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.pug$/,
|
||||
use: 'pug-loader'
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].css'
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: 'index.html',
|
||||
template: './src/index.pug',
|
||||
inject: false,
|
||||
minify: false
|
||||
}),
|
||||
new RemovePlugin({
|
||||
after: {
|
||||
include: [
|
||||
'./app.dark.js'
|
||||
],
|
||||
log: false,
|
||||
logWarning: false
|
||||
}
|
||||
})
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user