Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@babel/preset-env #102

Merged
merged 2 commits into from
May 29, 2019
Merged

@babel/preset-env #102

merged 2 commits into from
May 29, 2019

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
@@ -16,6 +16,7 @@ const replacements = [{ original: 'lodash', replacement: 'lodash-es' }];
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