i
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { defineConfig, type UserConfigExport } from '@tarojs/cli'
|
||||
import {defineConfig, type UserConfigExport} from '@tarojs/cli'
|
||||
import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin'
|
||||
import devConfig from './dev'
|
||||
import prodConfig from './prod'
|
||||
@@ -18,13 +18,10 @@ export default defineConfig(async (merge, {}) => {
|
||||
sourceRoot: 'src',
|
||||
outputRoot: 'dist',
|
||||
plugins: [],
|
||||
defineConstants: {
|
||||
},
|
||||
defineConstants: {},
|
||||
copy: {
|
||||
patterns: [
|
||||
],
|
||||
options: {
|
||||
}
|
||||
patterns: [],
|
||||
options: {}
|
||||
},
|
||||
framework: 'vue3',
|
||||
compiler: 'webpack5',
|
||||
@@ -35,9 +32,7 @@ export default defineConfig(async (merge, {}) => {
|
||||
postcss: {
|
||||
pxtransform: {
|
||||
enable: true,
|
||||
config: {
|
||||
|
||||
}
|
||||
config: {}
|
||||
},
|
||||
url: {
|
||||
enable: true,
|
||||
@@ -58,10 +53,10 @@ export default defineConfig(async (merge, {}) => {
|
||||
}
|
||||
},
|
||||
h5: {
|
||||
publicPath: '/',
|
||||
publicPath: '/public/',
|
||||
staticDirectory: 'static',
|
||||
router: {
|
||||
mode: 'browser'
|
||||
mode: 'hash'
|
||||
},
|
||||
output: {
|
||||
filename: 'js/[name].[hash:8].js',
|
||||
@@ -93,7 +88,7 @@ export default defineConfig(async (merge, {}) => {
|
||||
appName: 'taroDemo',
|
||||
postcss: {
|
||||
cssModules: {
|
||||
enable: false, // 默认为 false,如需使用 css modules 功能,则设为 true
|
||||
enable: false // 默认为 false,如需使用 css modules 功能,则设为 true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
package.json
59
package.json
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "newGameHome",
|
||||
"name": "test",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
@@ -37,51 +37,48 @@
|
||||
"author": "",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.22.11",
|
||||
"@tarojs/components": "3.6.11",
|
||||
"@tarojs/helper": "3.6.11",
|
||||
"@tarojs/plugin-framework-vue3": "3.6.11",
|
||||
"@tarojs/plugin-platform-alipay": "3.6.11",
|
||||
"@tarojs/plugin-platform-h5": "3.6.11",
|
||||
"@tarojs/plugin-platform-jd": "3.6.11",
|
||||
"@tarojs/plugin-platform-qq": "3.6.11",
|
||||
"@tarojs/plugin-platform-swan": "3.6.11",
|
||||
"@tarojs/plugin-platform-tt": "3.6.11",
|
||||
"@tarojs/plugin-platform-weapp": "3.6.11",
|
||||
"@tarojs/runtime": "3.6.11",
|
||||
"@tarojs/shared": "3.6.11",
|
||||
"@tarojs/taro": "3.6.11",
|
||||
"@tarojs/components": "3.6.15",
|
||||
"@tarojs/helper": "3.6.15",
|
||||
"@tarojs/plugin-framework-vue3": "3.6.15",
|
||||
"@tarojs/plugin-platform-alipay": "3.6.15",
|
||||
"@tarojs/plugin-platform-h5": "3.6.15",
|
||||
"@tarojs/plugin-platform-jd": "3.6.15",
|
||||
"@tarojs/plugin-platform-qq": "3.6.15",
|
||||
"@tarojs/plugin-platform-swan": "3.6.15",
|
||||
"@tarojs/plugin-platform-tt": "3.6.15",
|
||||
"@tarojs/plugin-platform-weapp": "3.6.15",
|
||||
"@tarojs/runtime": "3.6.15",
|
||||
"@tarojs/shared": "3.6.15",
|
||||
"@tarojs/taro": "3.6.15",
|
||||
"vue": "^3.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.11",
|
||||
"@tarojs/cli": "3.6.11",
|
||||
"@tarojs/taro-loader": "3.6.11",
|
||||
"@tarojs/cli": "3.6.15",
|
||||
"@tarojs/taro-loader": "3.6.15",
|
||||
"@tarojs/test-utils-vue3": "^0.1.1",
|
||||
"@tarojs/webpack5-runner": "3.6.11",
|
||||
"@tarojs/webpack5-runner": "3.6.15",
|
||||
"@types/jest": "^29.5.4",
|
||||
"@types/node": "^18.17.12",
|
||||
"@types/node": "^20.5.7",
|
||||
"@types/webpack-env": "^1.18.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"@unocss/webpack": "^0.55.3",
|
||||
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||||
"@typescript-eslint/parser": "^6.5.0",
|
||||
"@vue/babel-plugin-jsx": "^1.1.5",
|
||||
"@vue/compiler-sfc": "^3.3.4",
|
||||
"babel-preset-taro": "3.6.11",
|
||||
"css-loader": "3.4.2",
|
||||
"babel-preset-taro": "3.6.15",
|
||||
"css-loader": "6.8.1",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-config-taro": "3.6.11",
|
||||
"eslint-plugin-vue": "^8.7.1",
|
||||
"eslint-config-taro": "3.6.15",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"jest": "^29.6.4",
|
||||
"jest-environment-jsdom": "^29.6.4",
|
||||
"postcss": "^8.4.29",
|
||||
"style-loader": "1.3.0",
|
||||
"stylelint": "^14.16.1",
|
||||
"style-loader": "3.3.3",
|
||||
"stylelint": "^15.10.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
||||
"typescript": "^4.9.5",
|
||||
"unocss": "^0.55.3",
|
||||
"unocss-preset-weapp": "^0.55.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vue-loader": "^17.2.2",
|
||||
"webpack": "5.78.0"
|
||||
"webpack": "5.88.2"
|
||||
}
|
||||
}
|
||||
|
||||
17614
pnpm-lock.yaml
generated
17614
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -10,5 +10,6 @@ export default defineAppConfig({
|
||||
navigationBarBackgroundColor: '#fff',
|
||||
navigationBarTitleText: 'Game',
|
||||
navigationBarTextStyle: 'black'
|
||||
}
|
||||
},
|
||||
// animation: false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user