Skip to content

Conversation

@macbre
Copy link
Owner

@macbre macbre commented Jun 14, 2022

Prepare for analyze-css to be a pure ESM package - macbre/analyze-css#616


https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c - nice notes from @sindresorhus.

Solves:

 phantomas/modules/analyzeCss/analyzeCss.js
  92:29  error  'import()' expressions are not supported yet  node/no-unsupported-features/es-syntax
@macbre
Copy link
Owner Author

macbre commented Jun 25, 2022

    You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules

@macbre
Copy link
Owner Author

macbre commented Nov 21, 2022

Now that's interesting ...

$ npm t
(...)
Segmentation fault (core dumped)
npm ERR! Test failed.  See above for more details.

@gmetais gmetais mentioned this pull request Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants