fix: fix some issues

This commit is contained in:
Brayn Lee
2021-09-04 18:57:13 +08:00
committed by 神戸小鳥
parent f105be1882
commit 0195c857d5
7 changed files with 1396 additions and 16 deletions

View File

@@ -613,7 +613,7 @@
"10064": {
"id": 10064,
"event": "你被卖给了人贩子。人贩子运送路上你很虚弱。",
"include": "(STR<3)&((MNY<3)&(EVT?[10009])",
"include": "(STR<3)&((MNY<3)&(EVT?[10009]))",
"exclude": "(EVT?[10064,10001,10019])|(TLT?[1015])",
"branch": [
"STR<3:10000"

Binary file not shown.

View File

@@ -5,7 +5,7 @@
"scripts": {
"test": "node test",
"xlsxTransform": "node utils/xlsxTransform.js data",
"dev": "webpack --mode development",
"dev": "webpack serve --open /view/index.html",
"build": "webpack --mode production"
},
"dependencies": {
@@ -14,6 +14,7 @@
"babel-loader": "^8.2.2",
"core-js": "^3.17.2",
"webpack": "^5.51.2",
"webpack-dev-server": "^4.1.0",
"xlsx": "^0.17.0"
},
"devDependencies": {

View File

@@ -167,6 +167,7 @@ body {
border-radius: 0.2rem;
cursor: pointer;
color: #EEEEEE;
user-select: none;
}
.grade1b,

View File

@@ -162,6 +162,7 @@ body {
text-align: center;
border-radius: 0.2rem;
cursor: pointer;
user-select: none;
}
.grade1b,

View File

@@ -1,14 +1,32 @@
const path = require('path');
module.exports = {
entry: './src/index.js',
mode: 'production',
entry: './src/index.js',
devtool: 'eval-cheap-module-source-map',
devServer: {
static: [
{
directory: path.join(__dirname, 'data'),
publicPath: '/data',
},
{
directory: path.join(__dirname, 'public'),
publicPath: '/public',
},
{
directory: path.join(__dirname, 'view'),
publicPath: '/view',
},
],
},
output: {
path: path.resolve(__dirname, 'public'),
filename: 'bundle.js',
clean: true,
},
// resolve: {
// extensions: [".js"],
// extensions: ['.js'],
// },
module: {
rules: [{

1383
yarn.lock

File diff suppressed because it is too large Load Diff