@beforesemicolon/builder 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
"use strict";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var d=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of a(t))!f.call(e,o)&&o!==r&&s(e,o,{get:()=>t[o],enumerable:!(n=m(t,o))||n.enumerable});return e};var c=(e,t,r)=>(r=e!=null?l(u(e)):{},d(t||!e||!e.__esModule?s(r,"default",{value:e,enumerable:!0}):r,e));var i=c(require("path"),1),p=c(require("esbuild"),1);const y={name:"empty-parser-Doc-plugin",setup(e){e.onResolve({filter:/Doc$/},t=>{if(t.importer.includes("@beforesemicolon/html-parser"))return{path:t.path,namespace:"empty-Doc"}}),e.onLoad({filter:/.*/,namespace:"empty-Doc"},()=>({contents:""}))}};p.default.build({entryPoints:[i.default.resolve(process.cwd(),"src/client")],outfile:"dist/client",bundle:!0,keepNames:!0,sourcemap:!0,target:"esnext",minify:!0,plugins:[y]}).catch(console.error);
|
1
|
+
"use strict";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var d=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of a(t))!f.call(e,o)&&o!==r&&s(e,o,{get:()=>t[o],enumerable:!(n=m(t,o))||n.enumerable});return e};var c=(e,t,r)=>(r=e!=null?l(u(e)):{},d(t||!e||!e.__esModule?s(r,"default",{value:e,enumerable:!0}):r,e));var i=c(require("path"),1),p=c(require("esbuild"),1);const y={name:"empty-parser-Doc-plugin",setup(e){e.onResolve({filter:/Doc$/},t=>{if(t.importer.includes("@beforesemicolon/html-parser"))return{path:t.path,namespace:"empty-Doc"}}),e.onLoad({filter:/.*/,namespace:"empty-Doc"},()=>({contents:""}))}};p.default.build({entryPoints:[i.default.resolve(process.cwd(),"src/client")],outfile:"dist/client.js",bundle:!0,keepNames:!0,sourcemap:!0,target:"esnext",minify:!0,plugins:[y]}).catch(console.error);
|
@@ -1 +1 @@
|
|
1
|
-
import r from"path";import o from"esbuild";const n={name:"empty-parser-Doc-plugin",setup(e){e.onResolve({filter:/Doc$/},t=>{if(t.importer.includes("@beforesemicolon/html-parser"))return{path:t.path,namespace:"empty-Doc"}}),e.onLoad({filter:/.*/,namespace:"empty-Doc"},()=>({contents:""}))}};o.build({entryPoints:[r.resolve(process.cwd(),"src/client")],outfile:"dist/client",bundle:!0,keepNames:!0,sourcemap:!0,target:"esnext",minify:!0,plugins:[n]}).catch(console.error);
|
1
|
+
import r from"path";import o from"esbuild";const n={name:"empty-parser-Doc-plugin",setup(e){e.onResolve({filter:/Doc$/},t=>{if(t.importer.includes("@beforesemicolon/html-parser"))return{path:t.path,namespace:"empty-Doc"}}),e.onLoad({filter:/.*/,namespace:"empty-Doc"},()=>({contents:""}))}};o.build({entryPoints:[r.resolve(process.cwd(),"src/client")],outfile:"dist/client.js",bundle:!0,keepNames:!0,sourcemap:!0,target:"esnext",minify:!0,plugins:[n]}).catch(console.error);
|