mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-06 04:21:15 +00:00
Changed back to cjs file extension
This commit is contained in:
@@ -399,14 +399,14 @@ export const ${name}${iit(opts.types == 'typescript', ': CustomThemeConfig')} =
|
||||
let filename = name + iit(opts.types == 'typescript', '.ts', '.js');
|
||||
writeFileSync(join(cwd(), 'src', filename), str);
|
||||
}
|
||||
function createPostCssConfig(opts) {
|
||||
function createPostCssConfig() {
|
||||
const str = `module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}`;
|
||||
writeFileSync(join(cwd(), 'postcss.config' + iit(opts.types == 'typescript', '.ts', '.js')), str);
|
||||
writeFileSync(join(cwd(), 'postcss.config.cjs'), str);
|
||||
}
|
||||
|
||||
function copyTemplate(opts) {
|
||||
|
||||
Reference in New Issue
Block a user