Skip to content

Commit

Permalink
fix(plugin-ts): correct handling of inline options
Browse files Browse the repository at this point in the history
  • Loading branch information
Igmat committed Jan 26, 2018
1 parent 12562fb commit f0be6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/baset-plugin-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class TypeScriptReader {

const registerOptions: Options = (typeof config === 'string')
? { project: path.resolve(config) }
: { compilerOptions: config };
: { compilerOptions: config.compilerOptions };

register(registerOptions);
// TODO: investigate do we need https://www.npmjs.com/package/tsconfig-paths
Expand Down

0 comments on commit f0be6bd

Please sign in to comment.