mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-31 14:20:53 +08:00
chore: remove vue-virtual-scroller
This commit is contained in:
parent
22d2c9c9a9
commit
dffcc93d95
@ -21,9 +21,8 @@
|
||||
"release:package": "npm run build && npm publish",
|
||||
"test": "cross-env NODE_ENV=test jest",
|
||||
"init-cssr": "node scripts/create-cssr-scaffold.js",
|
||||
"generate": "npm run generate-version && npm run generate-global-style",
|
||||
"generate": "npm run generate-version",
|
||||
"generate-version": "node scripts/generate-version",
|
||||
"generate-global-style": "",
|
||||
"tusimple:dev": "npm run generate && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.tusimple-dev.js",
|
||||
"tusimple:build:doc": "npm run generate && npm run build && rm -rf build-doc/dist && cross-env NODE_ENV=production webpack --config build/webpack.tusimple-doc.js",
|
||||
"tusimple:release:doc": "npm run tusimple:build:doc && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
||||
@ -133,6 +132,7 @@
|
||||
"lodash-es": "^4.17.15",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"treemate": "^0.1.5",
|
||||
"vue-runtime-helpers": "^1.1.2"
|
||||
"vue-runtime-helpers": "^1.1.2",
|
||||
"vueuc": "0.1.0-alpha.1"
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ module.exports = {
|
||||
'lodash-es',
|
||||
'resize-observer-polyfill',
|
||||
'vue-runtime-helpers',
|
||||
'vue-virtual-scroller',
|
||||
'@css-render/plugin-bem'
|
||||
'@css-render/plugin-bem',
|
||||
'vueuc'
|
||||
])
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
const fs = require('fs').promises
|
||||
const path = require('path')
|
||||
|
||||
function generateCssr (literal) {
|
||||
return `export default \`${literal}\`\n`
|
||||
}
|
||||
|
||||
;(async () => {
|
||||
const file = await fs.readFile(
|
||||
path.resolve(
|
||||
__dirname,
|
||||
'..',
|
||||
'node_modules',
|
||||
'vue-virtual-scroller',
|
||||
'dist',
|
||||
'vue-virtual-scroller.css'
|
||||
)
|
||||
)
|
||||
const cssLiteral = file.toString()
|
||||
await fs.writeFile(path.resolve(
|
||||
__dirname,
|
||||
'..',
|
||||
'src',
|
||||
'_styles/',
|
||||
'global-style/',
|
||||
'vue-virtual-scroller.cssr.js'
|
||||
), generateCssr(cssLiteral))
|
||||
})()
|
Loading…
x
Reference in New Issue
Block a user