Skip to content

Commit

Permalink
add runtime output
Browse files Browse the repository at this point in the history
  • Loading branch information
adryd325 committed Nov 23, 2023
1 parent 5cf6c1f commit 89efbb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ const templateStr = await fs.promises.readFile("userscriptTemplate.js", { encodi
const runtimeStr = JSON.stringify(runtimeWithSourceUrl)

fs.promises.writeFile("dist/webpackTools.user.js", templateStr.replace('"{{ REPLACE_ME RUNTIME }}"', runtimeStr));
fs.promises.writeFile("dist/webpackTools.runtime.js", runtimeStr)

0 comments on commit 89efbb5

Please sign in to comment.