Comments (4)
npm run build
works for me.
I'm using npm 7.5.2 and node v12.21.0.
Are you on windows?
from tobii.
- To make build work on Windows, you need:
- run
npm install --save-dev cross-env
command - replace
BROWSERSLIST_ENV
tocross-env BROWSERSLIST_ENV
on package.json
After that, build works on Windows and unix/mac (tested).
- Still can not figure out what to do with
npm run dev
:
- dist/*.css is not updated, only dist/tobi.js
- demo with
dist/tobii.js
does not work:module is not defined
&&Tobii is not defined
from tobii.
2nd problem fixed using microbundle watch --raw
and demo/modern.html
.
So what is purpose of microbundle watch --raw --format cjs
?
You have to write build instructions, first build takes too much time alone to make it work.
from tobii.
@midzer It would be good to enable wiki (read only) and create Building instructions article, and link it on readme.MD
You can also add contribution guide.
from tobii.
Related Issues (20)
- No/wrong recalculating of counter after removal of item HOT 6
- Missing :hover and :focus styling on prev and next buttons HOT 2
- Support for multiple lightbox instances. HOT 7
- missing close button for inline elements in some cases HOT 2
- How to initialize Tobii framework without using inline script in HTML? HOT 6
- Can't find out correct links for audio and video files playing in the lightbox - single and video source set HOT 5
- Style issues HOT 1
- Multiple Videos on a Single Page HOT 3
- Unrecognized feature: 'web-share' issue HOT 1
- Lazy loading for iframes / on demand loading HOT 2
- Start time attribute for YouTube HOT 1
- Grouping HOT 2
- When using group, duplicate links always opens the first item in the group HOT 2
- Smooth transition HOT 4
- Custom Selector JS Error HOT 1
- Feature Request: Zoom on mobile HOT 2
- tap to cycle for touchscreen devices
- Problem opening iframe youtube video HOT 3
- Multiple You Tube Videos HOT 4
- Custom Properties Scoping HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tobii.