mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 03:03:41 +00:00
add autoprefixer
This commit is contained in:
parent
fe8450d48a
commit
2dd7250616
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@chenfengyuan/vue-qrcode": "^1.0.2",
|
"@chenfengyuan/vue-qrcode": "^1.0.2",
|
||||||
"@vitejs/plugin-legacy": "^1.8.2",
|
"autoprefixer": "^10.4.13",
|
||||||
"axios": "^0.24.0",
|
"axios": "^0.24.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"css-loader": "^6.7.2",
|
"css-loader": "^6.7.2",
|
||||||
|
|||||||
10
vite.config.js
vendored
10
vite.config.js
vendored
@ -4,6 +4,7 @@ import {defineConfig, loadEnv} from 'vite'
|
|||||||
import {createVuePlugin} from 'vite-plugin-vue2';
|
import {createVuePlugin} from 'vite-plugin-vue2';
|
||||||
import vitePluginRequire from 'vite-plugin-require'
|
import vitePluginRequire from 'vite-plugin-require'
|
||||||
import vitePluginFileCopy from 'vite-plugin-file-copy';
|
import vitePluginFileCopy from 'vite-plugin-file-copy';
|
||||||
|
import autoprefixer from 'autoprefixer';
|
||||||
|
|
||||||
const argv = process.argv;
|
const argv = process.argv;
|
||||||
const isCmd = argv.includes('fromcmd');
|
const isCmd = argv.includes('fromcmd');
|
||||||
@ -59,6 +60,13 @@ export default defineConfig(({command, mode}) => {
|
|||||||
src: resolve(__dirname, 'resources/assets/statics/public'),
|
src: resolve(__dirname, 'resources/assets/statics/public'),
|
||||||
dest: resolve(__dirname, publicPath)
|
dest: resolve(__dirname, publicPath)
|
||||||
}]),
|
}]),
|
||||||
]
|
],
|
||||||
|
css: {
|
||||||
|
postcss: {
|
||||||
|
plugins: [
|
||||||
|
autoprefixer
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user