babel-plugin-asset-path
v0.1.0
Published
This package is a babel plugin which add an 'assetPath' field to a exported vue component, its value is the component's full file path. It should be used with parcel-plugin-entry-css together to get critical css styles when server render a vue app.
Downloads
2
Readme
babel-plugin-asset-path
This package is a babel plugin which add an 'assetPath' field to a exported vue component, its value is the component's full file path. It should be used with parcel-plugin-entry-css together to get critical css styles when server render a vue app.
installation
yarn: yarn add babel-plugin-asset-path -D npm: npm i -D babel-plugin-asset-path