Skip to content

Commit

Permalink
Remove custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Binns-Smith committed Jul 11, 2019
1 parent dc7ad4e commit 830fe64
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 28 deletions.
9 changes: 0 additions & 9 deletions packages/configs/tsc/index.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/configs/tsc/package.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@parcel/config-default",
"transforms": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
}
}
11 changes: 8 additions & 3 deletions packages/core/integration-tests/test/typescript-tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ import assert from 'assert';
import path from 'path';
import * as fs from '@parcel/fs';
import {bundle, run, distDir} from '@parcel/test-utils';
import tscConfigContents from '@parcel/config-tsc';
import {readFileSync} from 'fs';

const configPath = path.join(
__dirname,
'/integration/typescript-config/.parcelrc'
);

const config = {
...tscConfigContents,
filePath: require.resolve('@parcel/config-tsc')
...JSON.parse(readFileSync(configPath)),
filePath: configPath
};

describe('typescript', function() {
Expand Down

0 comments on commit 830fe64

Please sign in to comment.