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
.../example-vanilla/website$ npm run build
> @ build /.../example-vanilla/website
> docusaurus-build
generate.js triggered...
feed.js triggered...
feed.js triggered...
sitemap.js triggered...
ReferenceError: window is not defined
at Object.<anonymous> (/.../example-vanilla/website/node_modules/docusaurus/lib/pages/demos/static/tempiframe.b1f78240f6a2a447f3d2.bundle.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
Reproducible Demo
git clone git@github.com:daKmoR/example-docusaurus-bug.git
cd example-docusaurus-bug
cd website
npm run build
Additional info
$ npm --version
6.2.0
$ node --version
v10.9.0
$ yarn --version
1.9.4
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
System: Windows 10 on WSL Ubuntu
The text was updated successfully, but these errors were encountered:
daKmoR
changed the title
Adding more complex files to assets breaks the build
Adding more complex files to static breaks the build
Sep 4, 2018
🐛 Bug Report
Adding more complex "folder content" to static breaks the build.
Have you read the Contributing Guidelines on issues?
yes
To Reproduce
Expected behavior
demos folder will be part of the build folder
Actual Behavior
build breaks
Reproducible Demo
Additional info
The text was updated successfully, but these errors were encountered: