Skip to content

Commit

Permalink
Merge branch 'release/0.0.3' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
amoutonbrady committed Jul 12, 2020
2 parents dda3822 + 340d82a commit bb1c59b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"types": "lib/plugin.d.ts",
"scripts": {
"build": "tsc"
"build": "tsc -p .",
"prepublishOnly": "pnpm build"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export function solidPlugin(options?: SolidPluginOptions): Plugin {
// Merging plugins & presets if user add some more
const babelPlugins = [...(plugins || [])];
const babelPresets = [
"babel-preset-solid",
"@babel/preset-typescript",
require("babel-preset-solid"),
require("@babel/preset-typescript"),
...(presets || []),
];

Expand Down
18 changes: 8 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"declaration": true,
"target": "ES2019",
"module": "CommonJS",
"moduleResolution": "node",
"declarationDir": "lib",
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"newLine": "lf",
"outDir": "lib"
"declaration": true,
"noUnusedLocals": true,
"esModuleInterop": true,
"outDir": "lib",
"module": "commonjs",
"lib": ["ESNext"],
"sourceMap": true
},
"include": ["src"]
"include": ["./src"]
}

0 comments on commit bb1c59b

Please sign in to comment.