mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
10 lines
183 B
JavaScript
10 lines
183 B
JavaScript
const cleanCssr = require('./utils/clean-cssr')
|
|
|
|
module.exports = () => ({
|
|
async transform (code, id) {
|
|
if (id.endsWith('.cssr.js')) {
|
|
return cleanCssr(code)
|
|
}
|
|
}
|
|
})
|