forked from external-repos/LifeTrinket
Revert "fix prettier and convert to module"
This reverts commit 0db1ed2144.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "life-trinket",
|
||||
"private": true,
|
||||
"version": "0.9.99",
|
||||
"type": "module",
|
||||
"type": "commonjs",
|
||||
"engines": {
|
||||
"node": ">=20",
|
||||
"yarn": "use pnpm",
|
||||
|
||||
5567
pnpm-lock.yaml
generated
5567
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,6 @@
|
||||
export const plugins = {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
};
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import propTypesTemplate from './template.js';
|
||||
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable-next-line no-undef */
|
||||
export default {
|
||||
template: propTypesTemplate,
|
||||
module.exports = {
|
||||
template: require('./template'),
|
||||
titleProp: true,
|
||||
svgProps: {
|
||||
height: '{props.size || 16}',
|
||||
@@ -29,3 +27,5 @@ export default {
|
||||
typescript: true,
|
||||
outDir: './src/Icons/generated',
|
||||
};
|
||||
|
||||
|
||||
@@ -34,4 +34,7 @@ const propTypesTemplate = (
|
||||
export default ${title}`;
|
||||
};
|
||||
|
||||
export default propTypesTemplate;
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
module.exports = propTypesTemplate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user