mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
add build date
This commit is contained in:
1 parent
05f4fc10dc
commit
52afc4a311
4 files changed
+13
-3
No files matched your search
@@ -81,8 +81,9 @@ module.exports = function creatRollupConfig(projectPath) {
|
||||
replace({
|
||||
preventAssignment: true,
|
||||
exclude: 'node_modules/**',
|
||||
__ENV__: JSON.stringify(process.env.NODE_ENV || 'development'),
|
||||
__ENV__: process.env.NODE_ENV || 'development',
|
||||
__VERSION__: version,
|
||||
__BUILD__: Date.now(),
|
||||
}),
|
||||
isProd && sizeSnapshot(),
|
||||
isProd && removeHtmlSpace(),
|
||||
|
||||
Reference in new issue
Block a user