1.0.2 • Published 3 years ago
rollup-plugin-csv v1.0.2
how to use?
/**
* @type {import('vite').UserConfig}
*/
import loadCsv from 'rollup-plugin-csv';
const config = {
plugins:[
loadCsv()
]
}
export default config
before:
'1,2,3,4\n\r1,2,3,4\n\r'
after:
[
["1","2","3","4"],
["1","2","3","4"]
]