Skip to content

Commit

Permalink
only require ember-cli-typescript while developing
Browse files Browse the repository at this point in the history
  • Loading branch information
davewasmer authored and Turbo87 committed Nov 22, 2019
1 parent 538e4b7 commit 8306924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = {
let input = debugTree(tree, 'addon-test-support:input');

let compiler = this.project._incrementalTsCompiler;
if (compiler) {
if (this.isDevelopingAddon() && compiler) {
// eslint-disable-next-line node/no-unpublished-require
let TypescriptOutput = require('ember-cli-typescript/js/lib/incremental-typescript-compiler/typescript-output-plugin');
// eslint-disable-next-line node/no-unpublished-require
Expand Down

0 comments on commit 8306924

Please sign in to comment.