Questions tagged [survivejs]

SurviveJS book issues

Issues related to SurviveJS open book content.

18 questions
0
votes
0 answers

Can I set a "scope" for dependencies bundled by webpack?

I use webpack to to bundle a ReactJS component. This ReactJS component has some dependencies and one of them is jQuery. Right now I just run webpack to create the bundled script. Now I'd like to integrate the bundled script (representing my ReactJS…
Ria
  • 1,900
  • 4
  • 14
  • 21
0
votes
1 answer

Usage of Promise in webpack / react application

I am trying to use Promise in an react app using webpack but I have this error : 'Promise' is not defined no-undef So far, everything was working well (used babel to translate js and jsx) but unfortunately Promise does not work. Furthermore, I…
vespasien
  • 183
  • 1
  • 1
  • 9
0
votes
1 answer

How do you run a React JS from a remote server?

Using Webpack, and following survivejs tutorial. I've succesfully ran npm run build And got index.html and bundle.js inside a build directory. When I try to put these on my server folder, and run index.html I get the following error: Uncaught…
user1553825
  • 160
  • 1
  • 1
  • 6
1
2