-
Notifications
You must be signed in to change notification settings - Fork 19
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
This package does not with Create React App #286
Comments
I've just released xspattern 2.0.0 which renames the bundles to both use the .js extension. This release has no other changes. Could you try bumping the dependency version and confirm whether that resolves the problem with CRA? |
Just released 3.15.0 @EvadeHaas @wvbe could you check whether CRA eats FontoXPath and xspattern now? |
I can confirm that this works for a tsdx app |
Yay! Thanks for the confirmation @EvadeHaas! I'm closing this issue! |
Since the dependency on xspattern, this package is incompatible with Create React App. Reason for this is that xspattern publishes an
xspattern.mjs
file, on which Closure Compiler errors.There is a workaround by using
create-react-app-rewired
.To get this workaround to work, follow the following steps:
create-react-app-rewired
config-overrides-file.js
in the root of your repository with the following:create-react-app-rewired
variants:There is already an issue on xspattern.js: bwrrp/xspattern.js#18.
There is also an issue on create-react-app: facebook/create-react-app#10356.
I will update this issue when anything changes.
The text was updated successfully, but these errors were encountered: