Firefly Semantics Corporation
Firefly Semantics Corporation
> Now maybe package exports are widely supported enough now that we could recommend having a package file layout that differs from the exports layout. That would solve this. I...
Here's how I think the entire thing could be done. 1) Compile so that all built resources are placed in a `build` directory. 2) Refactor package.json export properties like this:...
I tried `--debug` to have a look at this is the result. ``` ri % npx release-it --no-git --debug WARNING Environment variable "GITHUB_TOKEN" is required for automated GitHub Releases. WARNING...
@0xMurage Thank you for pointing that out. I'm sure you are right. I was assuming that it would categorize commits by version number. at first. I'll leave this open, in...
@joshgoebel the build is for an open source web component that uses highlight.js to do what it does ... but with a custom element ... and rollup is being used...
@joshgoebel I tried this, and it looks like Typescript does not have a way of importing from CDN assets ... https://stackoverflow.com/questions/78983373/importing-highlight-js-as-a-cdn-resource-in-a-typescript-project?noredirect=1#comment139262477_78983373
@joshgoebel ooooh - OK - It's looking more realistic now :). I tried this import: ``` import hljs from '@highlightjs/cdn-assets/highlight.js'; ``` But Typescript creates this error ( Looks like `@types/highlightjs`...
@joshgoebel for me it shows up as an error. > src/my-dispatcher.component.ts:4:18 - error TS7016: Could not find a declaration file for module '@highlightjs/cdn-assets/highlight.js'. '/Users/oleersoy/Temp/b/node_modules/@highlightjs/cdn-assets/highlight.js' implicitly has an 'any' type. Try...
@joshgoebel does that mean it should support a Typescript rollup bundle now? I tried doing an import like this from the `es` folder of the [@highlightjs/cdn-assets](https://www.npmjs.com/package/@highlightjs/cdn-assets) assets folder in the...
Also https://www.npmjs.com/package/rollup-plugin-terser is deprecated. The replacement is: https://www.npmjs.com/package/@rollup/plugin-terser