mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Merge pull request #3479 from alexrockhill/fix/import
BUG: Compiler error cannot find script
This commit is contained in:
commit
cee18f8e6c
5
.changeset/thick-waves-bathe.md
Normal file
5
.changeset/thick-waves-bathe.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"jspsych": patch
|
||||
---
|
||||
|
||||
Modify import of seedrandom to fix build issue with some configurations of webpack
|
@ -1,5 +1,5 @@
|
||||
import rw from "random-words";
|
||||
import seedrandom from "seedrandom/lib/alea";
|
||||
import seedrandom from "seedrandom/lib/alea.js";
|
||||
|
||||
/**
|
||||
* Uses the `seedrandom` package to replace Math.random() with a seedable PRNG.
|
||||
|
Loading…
Reference in New Issue
Block a user