Skip to content

Commit

Permalink
add @vue/compiler-sfc
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Jun 26, 2023
1 parent e92a99d commit c0c3f30
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 3 deletions.
190 changes: 190 additions & 0 deletions dist/vue-compiler-sfc/vue-compiler-sfc.js

Large diffs are not rendered by default.

105 changes: 103 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@live-codes/browser-compilers",
"version": "0.7.5",
"version": "0.7.6",
"description": "Compilers that run in the browser, for use in livecodes.io",
"author": "Hatem Hosny",
"license": "MIT",
Expand Down Expand Up @@ -50,6 +50,7 @@
"@unocss/transformer-compile-class": "0.53.1",
"@unocss/transformer-directives": "0.53.1",
"@unocss/transformer-variant-group": "0.53.1",
"@vue/compiler-sfc": "3.3.4",
"@webassemblyjs/wast-refmt": "1.11.6",
"assemblyscript": "0.27.5",
"autoprefixer": "10.4.14",
Expand Down
8 changes: 8 additions & 0 deletions scripts/vendors.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,3 +469,11 @@ esbuild
fs.unlinkSync(path.resolve('dist/assemblyscript/assemblyscript.patched.js'));
});
});

// @vue/compiler-sfc
esbuild.build({
...baseOptions,
entryPoints: ['vendor_modules/imports/vue-compiler-sfc.js'],
outfile: 'dist/vue-compiler-sfc/vue-compiler-sfc.js',
globalName: 'VueCompilerSFC',
});
3 changes: 3 additions & 0 deletions vendor_modules/imports/vue-compiler-sfc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import * as VueCompilerSFC from '@vue/compiler-sfc';

export { VueCompilerSFC };

0 comments on commit c0c3f30

Please sign in to comment.