{ ^ ReferenceError: module is not defined at file:///home/coenraad/claude-artifact-runner/tailwind.config.js:2:1 at ModuleJobSync.runSync (node:internal/modules/esm/module_job:367:35) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:325:47) at loadESMFromCJS (node:...
在编译前端项目时出现下面的问题: Failed to load PostCSS config: Failed to load PostCSS config (searchPath: D:/WebProject/imooc-front): [Failed to load PostCSS config] Failed to load PostCSS config (searchPath: D:/WebProject/imooc-front):This file is being treated as an ES module because i...
module.exports= { plugins: [require("tailwindcss"), require("autoprefixer")], }; 在默认使用vite创建的项目中,package.json文件中有一个配置为"type": "module",这时对应ECMAScript的语法规范,会使用ES Module模块的方式处理代码,对应的关键词为export和import,代码如下所示: exportdefault{plugins: {tailwind...
But the components folder is not inside of the src folder Author Quietscher commented May 9, 2024 And I already tried setting a definite path in the config to the folder. It did not work on reactscripts start. sakshamvedi commented May 9, 2024 um when you install can you write the ...
config.js file: module.exports = { prefix: 'remote-', // Adds 'remote-' to all classes in the remote app }; With this setup, Tailwind CSS prefixes all class names automatically. For example: btn-primary becomes app1-btn-primary text-lg becomes app1-text-lg Then, update your ...
8:31:22 PM: warn - Tailwind is not purging unused styles because no template paths have been provided. 8:31:22 PM: warn - If you have manually configured PurgeCSS outside of Tailwind or are deliberately not removing unused styles, set `purge: false` in your Tailwind config file to silen...
WARN Cannot extend config from {"install":true} in /private/tmp/nuxt-layer-devependency-repro/nuxt-app 10:29:11 am [10:29:11 am] ERROR Error while requiring module @nuxtjs/tailwindcss: Error: Cannot find module '/private/tmp/nuxt-layer-devependency-repro/nuxt-app/@nuxtjs/tailwindcss' ...
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied. ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired. If you want to...
User Config: modules, image, vite, extends, experimental, routeRules, nitro, sitemap, css, runtimeConfig, devtools Runtime Modules: @nuxtjs/tailwindcss@6.8.0, @vueuse/nuxt@10.1.2, @pinia/nuxt@0.4.11, @nuxt/image@1.0.0-rc.1, nuxt-simple-sitemap@2.7.0 Build Modules: - Reproduction Ope...
tailwindcss tapable temp-dir tempy terminal-link terser-webpack-plugin terser test-exclude text-table throat thunky timsort tiny-invariant tiny-warning tmpl to-fast-properties to-regex-range toidentifier tough-cookie tr46 tryer tsconfig-paths tslib tsutils type-check type-de...