Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samdenty
Copy link
Contributor

Fixes #101

@jaredpalmer
Copy link
Owner

This was fixed with #111

@jaredpalmer jaredpalmer reopened this May 29, 2019
@jaredpalmer
Copy link
Owner

Nvm this is different. I need to think this through

@jaredpalmer
Copy link
Owner

Going to merge and then make this more robust in another PR

@jaredpalmer jaredpalmer merged commit 988cc1f into jaredpalmer:master May 29, 2019
const babelOptions = {
exclude: /node_modules/,
extensions: [...DEFAULT_EXTENSIONS, 'ts', 'tsx'],
presets: ['@babel/preset-env'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have been presets: [require.resolve('@babel/preset-env')],?

Otherwise I am getting

UnhandledPromiseRejectionWarning: Error: Cannot find module '@babel/preset-env' ...

in the package that consumes tsdx

@jaredpalmer
Copy link
Owner

Yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output not being compiled-down

3 participants