You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an angular component for liquidjs. Therefore i want to include your lib, in the browser (no fs namespace available) and want to be able to treeshake with a bundler. Conditional imports are problematic in this case.
./node_modules/liquidjs/dist/liquid.esm.js 411:19-40 Critical dependency: the request of a dependency is an expression
Module not found: Error: Can't resolve 'fs' in '/node_modules/liquidjs/dist'
Module not found: Error: Can't resolve 'path' in '/node_modules/liquidjs/dist'
The text was updated successfully, but these errors were encountered:
a-gerescher
changed the title
npm package doesn't contain source
npm package doesn't contain esm module for browser
Nov 14, 2019
Now liquid.esm.js is targeted to browsers so there could be a degradation if someone is using liquid.esm.js on Node.js. But I believe the esm version is only useful for bundles, which is in most case targeting browsers, hope it makes sense.
I am building an angular component for liquidjs. Therefore i want to include your lib, in the browser (no fs namespace available) and want to be able to treeshake with a bundler. Conditional imports are problematic in this case.
The text was updated successfully, but these errors were encountered: