- run
npm i
- run
npm run dev
to see realtime change (compile files at /public) - run
npm run build
for production (To reduce the extension's size, the source map file is not generated by default.) - load unpacked files under
/public
on developer mode to test your extension
- Edit manifest file at
/src/manifest.json
(reflect it at/public/manifest.json
) - Edit icons images at
/src/icons
(reflect it at/public/icons
) - Edit chrome.i18 messages at
/src/_locales
(reflect it at/public/_locales
) - Edit content at
/src/content.ts
(reflect it at/public/build/content.js
) - Edit background at
/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!