时间戳工具
- - - -时间戳转日期时间
-日期时间转时间戳
-其他工具页面
-这里可以放置其他工具的内容。
-diff --git a/rollup.config.js b/rollup.config.js index b5848dd..5536cef 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -6,9 +6,9 @@ import livereload from 'rollup-plugin-livereload'; import serve from 'rollup-plugin-serve'; export default defineConfig({ - input: 'sidepanel/index.js', + input: 'sidepanel/js/index.js', output: { - file: 'dist/sidepanel.bundle.js', + file: 'dist/bundle.js', format: 'iife', }, plugins: [ @@ -17,20 +17,20 @@ export default defineConfig({ json(), livereload({ watch: ['dist', 'sidepanel'], - verbose: false + verbose: false, }), serve({ open: true, port: 8082, contentBase: ['.', 'sidepanel'], headers: { - 'Access-Control-Allow-Origin': '*' - } + 'Access-Control-Allow-Origin': '*', + }, }), ], watch: { include: ['sidepanel/**/*'], exclude: ['node_modules/**/*'], - clearScreen: false - } -}); \ No newline at end of file + clearScreen: false, + }, +}); diff --git a/sidepanel/index.html b/sidepanel/index.html index f980356..bed4405 100644 --- a/sidepanel/index.html +++ b/sidepanel/index.html @@ -5,111 +5,17 @@
这里可以放置其他工具的内容。
-