vue-component-compiler:将单个文件Vue组件编译为CommonJS模块

时间:2021-02-20 10:04:52
【文件属性】:
文件名称:vue-component-compiler:将单个文件Vue组件编译为CommonJS模块
文件大小:87KB
文件格式:ZIP
更新时间:2021-02-20 10:04:52
TypeScript @ vue / component-compiler 用于编译Vue单个文件组件的高级实用程序 该软件包包含高级实用程序,如果您正在为将Vue单个文件组件编译为JavaScript的捆绑器或模块系统编写插件/转换,则可以使用这些实用程序。 在版本3及更高版本中使用。 API的表面故意最小化-目标是在尽可能灵活的同时尽可能多地重用。 API createDefaultCompiler(Options):SFCCompiler 创建一个编译器实例。 interface Options { script ?: ScriptOptions style ?: StyleOptions template ?: TemplateOptions } interface ScriptOptions { preprocessorOptions ?: any } interface St
【文件预览】:
vue-component-compiler-master
----package.json(2KB)
----.yarnrc(22B)
----test()
--------assemble.spec.ts(1KB)
--------baseline.spec.ts(1KB)
--------__snapshots__()
--------setup()
--------fixtures()
--------compile.spec.ts(3KB)
----jest.config.js(293B)
----LICENSE(1KB)
----src()
--------compiler.ts(7KB)
--------source-map.ts(2KB)
--------postcss-clean.ts(496B)
--------index.ts(820B)
--------assembler.ts(15KB)
----tsconfig.json(479B)
----.gitignore(63B)
----typings()
--------hash-sum.d.ts(91B)
--------postcss-modules-sync.d.ts(104B)
----CHANGELOG.md(13KB)
----.circleci()
--------config.yml(659B)
----README.md(3KB)
----yarn.lock(183KB)
----.editorconfig(208B)

网友评论