mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-06 12:47:44 +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');
|
let filename = name + iit(opts.types == 'typescript', '.ts', '.js');
|
||||||
writeFileSync(join(cwd(), 'src', filename), str);
|
writeFileSync(join(cwd(), 'src', filename), str);
|
||||||
}
|
}
|
||||||
function createPostCssConfig(opts) {
|
function createPostCssConfig() {
|
||||||
const str = `module.exports = {
|
const str = `module.exports = {
|
||||||
plugins: {
|
plugins: {
|
||||||
tailwindcss: {},
|
tailwindcss: {},
|
||||||
autoprefixer: {},
|
autoprefixer: {},
|
||||||
},
|
},
|
||||||
}`;
|
}`;
|
||||||
writeFileSync(join(cwd(), 'postcss.config' + iit(opts.types == 'typescript', '.ts', '.js')), str);
|
writeFileSync(join(cwd(), 'postcss.config.cjs'), str);
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyTemplate(opts) {
|
function copyTemplate(opts) {
|
||||||
|
|||||||
Reference in New Issue
Block a user