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

improvement(require in scully.config): better support for node_modules… #107

Closed
wants to merge 3 commits into from

Conversation

SanderElias
Copy link
Contributor

Fixes the imports in scully.config so it can import both user files as well files from node_modules

@claassistantio
Copy link

claassistantio commented Dec 28, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@Villanuevand Villanuevand left a comment

Choose a reason for hiding this comment

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

LGTM

@aaronfrost
Copy link
Contributor

This looks like a better approach than before. But... we may want to consider switching it back to a node modules, instead of the VM'd thing this is doing. Let's chat about it.

SanderElias added a commit that referenced this pull request Dec 31, 2019
This removes the protective VM context, to make creating plugins a bit simpler

closes #122 re #107
SanderElias added a commit that referenced this pull request Dec 31, 2019
* improvement(require in scully cofig): better support for node_modules in scully config
* improvement(compileconfig.ts): add more complete nodeJS evrionment to config's scope
* improvement(scully.config): show how to "self-register"
* improvement(compileconfig): drop VM, use import instead
This removes the protective VM context, to make creating plugins a bit simpler

closes #122 re #107
@SanderElias
Copy link
Contributor Author

closed in favor of other solution

@SanderElias SanderElias deleted the fixImportInConfig branch January 3, 2020 10:22
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.

4 participants