diff --git a/tailwind.config.js b/tailwind.config.js index cfa575c..8f644a2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,7 @@ /** @type {import('tailwindcss').Config} */ + +const daisyui = require('daisyui'); + export default { content: [ "./src/index.html", @@ -8,7 +11,7 @@ export default { extend: {}, }, plugins: [ - require('daisyui'), + daisyui ], darkMode: ['selector', '[data-theme="night"]', '[data-theme="sunset"]', '[data-theme="dark"]'], safelist: ["dark", "sunset"], diff --git a/tsconfig.json b/tsconfig.json index cea17fa..02ef879 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "es6", - "module": "commonjs", + "module": "ESNext", + "target": "ESNext", "lib": ["dom", "es6", "es2017", "esnext.asynciterable"], "skipLibCheck": true, "sourceMap": true,