npm i
npm run dev
to see realtime change (compile files at /public)npm run build
for production (To reduce the extension's size, the source map file is not generated by default.)/public
on developer mode to test your extension/src/manifest.json
(reflect it at /public/manifest.json
)/src/icons
(reflect it at /public/icons
)/src/_locales
(reflect it at /public/_locales
)/src/content.ts
(reflect it at /public/build/content.js
)/src/background.ts
(reflect it at /public/build/background.js
)use <script lang="ts">
to use typescript in svelte
Use <style lang="postcss">
to take full advantage.
You are free to use this for your commercial projects!