-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
readFileSync import in config.ts #295
Comments
@elvuel could you provide a demo for this issue? |
@nodece put initial recap to: https://github.com/elvuel/sevlte-casbin-spike took some partial refs like from rollup#897 rollup#3230 etc,with no luck.(could be my bad, not familiar with node/js such rel staffs) after made the changes to |
I'll fix it as soon as possible, please give me some time |
@Gabriel-403 I already created a correspond PR at #296, we just need more discussion. |
Hello @elvuel, I tried to create a sevlte project with codesandbox: https://codesandbox.io/s/sweet-worker-jbu71?file=/Button.svelte, found to work properly. I think it's a rollup problem in your project, so I close this issue, I'm sure webpack is working. If you are interested, you can try it. |
Trying casbin.js with svelte(rollup), got
Error: 'readFileSync' is not exported ...
fs
import should be the same way as utils/utils.ts(import * as fs from 'fs';
)The text was updated successfully, but these errors were encountered: