Hakim El Hattab
52480157a1
2024
2024-01-09 11:38:35 +01:00
Mr.Hope
73d3f3432f
chore: bump deps
2023-10-28 18:49:41 +08:00
Hakim El Hattab
e1c180565e
Merge pull request #3445 from t-fritsch/fix-scss-watch-tasks
...
fix scss watch tasks broken on syntax error
2023-08-09 15:17:25 +02:00
Thomas Fritsch
74a5dac34f
speed up livereload
...
connect.reload needs a stream of files to fire, but this stream is irrelevant here and slows refresh time a lot (from ~2ms to 2000ms here)
2023-08-06 22:52:03 +02:00
Thomas Fritsch
f2b0316a91
fix scss watch tasks broken on syntax error
...
when there is a syntax error in a sass file (theme or core) the npm start command used to hang, forcing the user to stop and restart the task to compile again.
this fix allows to keep the start-task watching/compiling even when there is an error :
- the error is displayed in terminal
- the rest of gulp tasks are not called (no reload in the browser)
- the user can edit the scss files to try a fix without the need to stop/restart the `npm start` command
2023-08-06 18:39:14 +02:00
Hakim El Hattab
bddf79873b
Merge pull request #3442 from t-fritsch/allow-theme-subfolders
...
allow theme subfolders
2023-08-06 13:33:11 +02:00
t-fritsch
ba20abf0c3
allow theme subfolders
...
allows custom themes to import files from subfolders inside the `css/theme/source` folder.
in `css/theme/source/custom-theme.scss` we can now do
```scss
@import `custom-theme/controls`
@import `custom-theme/headings`
...
```
2023-08-03 22:38:03 +02:00
t-fritsch
2dd27b37c6
ignore node_modules for livereload
...
may allow perf boost
2023-08-03 22:31:07 +02:00
t-fritsch
82d63e0296
fixes livereload when using root CLI param
2023-08-03 22:23:58 +02:00
hakimel
df355eca3a
2023
2023-01-09 14:31:46 +01:00
Andrey Mikhaylov (lolmaus)
8492b82d12
Gulp livereload: include subfolders to watch for changes in html and md
...
Currently it's only watching for changes to `.html` and `.md` files located in the root of the project. I was frustrated when livereload stopped working for me: turns out it was because I put my content into subfolders.
2022-10-24 14:06:31 +03:00
hakimel
f4cadb9b0e
dont run full build + tests for package task #3156
2022-03-21 09:35:30 +01:00
Denny Biasiolli
1b3b83273c
gulp: fixing base path for 'package' task
2022-03-16 15:51:31 +01:00
hakimel
c83c68500f
rebuild notes plugin when html changes
2022-02-28 09:19:58 +01:00
hakimel
dbb1d5ed19
2022
2022-01-03 12:38:51 +01:00
hakimel
ec32d44085
remove comment
2021-11-24 10:57:20 +01:00
cashcat
13d0f086cc
fix npm start -- --host=0.0.0.0 unuseful
2021-11-21 12:23:28 +08:00
hakimel
4e8a1b3802
fix issue with internal links
2021-11-11 08:16:28 +01:00
hakimel
bc94d9598e
roll back unintended change to build
2021-11-10 21:14:05 +01:00
hakimel
a6c0f3efac
refactor hash parsing, fixes issue with autoplaying media not starting from internal links on mobile devices
2021-11-10 20:08:37 +01:00
hakimel
1ce77db3d0
tweak browser targets
2021-10-28 14:23:19 +02:00
Vandivier
dda3e4b4f2
fix: host fix for windows
2021-10-05 16:48:46 -04:00
Hakim El Hattab
395356a0b1
update deps & drop node/gulp-sass in order to support node 16 #2959
2021-05-19 21:48:42 +02:00
Hakim El Hattab
1e70d9fe46
upgrade to node-sass 5.0 (adds support for node 15.x) #2841
2020-11-25 15:06:29 +01:00
Hakim El Hattab
fc62af9d5b
rollup cache for all js bunling, improves subsequent build time by 50%
2020-05-27 09:06:31 +02:00
Hakim El Hattab
e6244a57b5
fix polyfills, add ie11 support
2020-05-26 09:47:01 +02:00
Hakim El Hattab
b074050a6d
4.0.1, remove date from built files
2020-05-25 16:21:41 +02:00
Hakim El Hattab
38eda3aada
fix livereload
2020-05-20 12:08:57 +02:00
Hakim El Hattab
feb43ffdc9
rollup cache saves 1s per js build
2020-05-19 19:04:46 +02:00
Hakim El Hattab
9d11927066
auto-animate example in demo
2020-05-19 10:22:24 +02:00
Hakim El Hattab
3d2371f58c
bundle html inside of notes.js, no more need for relatively locating external html
2020-05-18 15:59:18 +02:00
Hakim El Hattab
fb22716ddf
move built plugin files from /dist/plugin/ to /plugin/<name>/
2020-05-18 14:41:56 +02:00
Hakim El Hattab
9242b25bc9
esm bundle only targets browsers with module support
2020-05-04 11:13:11 +02:00
Hakim El Hattab
60cd098c8d
.esm suffix for module bundle, marked/highlight.js are installed via npm
2020-05-04 10:39:37 +02:00
Hakim El Hattab
48ebc3b7e0
remove unused dependency, disable inconsistent 'slidetransitionend' test
2020-04-27 11:44:33 +02:00
Hakim El Hattab
210fbb7646
plugins can be direct references or factory functions
2020-04-23 09:39:26 +02:00
Hakim El Hattab
c1b2e415db
get rid of event listener warning when running tests
2020-04-22 16:07:51 +02:00
Hakim El Hattab
4f6bdf1420
two js bundles; reveal.js (es6) and reveal.es5.js, add source maps
2020-04-17 10:59:55 +02:00
Hakim El Hattab
d9690462e0
add 'plugins' config option, new way of registering es5 plugins
2020-04-17 09:47:03 +02:00
Hakim El Hattab
d54353c4e1
switch to rollup for easier build config
2020-04-16 14:51:34 +02:00
Hakim El Hattab
0c8ac8f1ee
dont close dev server when tests finish
2020-04-15 11:14:45 +02:00
Hakim El Hattab
0bdc44826d
unify all markdown tests into one file
2020-04-15 11:07:20 +02:00
Hakim El Hattab
a55cd813be
convert plugins to ES modules, transpile es5 versions backwards compatibility
2020-04-15 10:23:51 +02:00
Hakim El Hattab
6d65d8a73a
syntax error
2020-04-07 10:05:16 +02:00
Hakim El Hattab
d0a1ef24cb
avoid running tests twice in ci
2020-04-07 10:00:28 +02:00
Hakim El Hattab
ad55f84b78
increase test timeout
2020-04-07 09:57:28 +02:00
Hakim El Hattab
855cc82d76
Reveal.add/remveEventListener -> Reveal.on/off
2020-04-07 09:05:56 +02:00
Hakim El Hattab
f26fc20b55
test and examples for multiple reveal.js instances on one page
2020-04-06 11:22:54 +02:00
Hakim El Hattab
881146500c
qunit task rejects on failure
2020-03-31 14:06:38 +02:00
Hakim El Hattab
ca29e3dd29
webpack config + babel-loader
2020-03-31 13:23:51 +02:00