Commit graph

23 commits

Author SHA1 Message Date
Oliver Blanthorn
7221b68646
Merge branch 'dependabot/npm_and_yarn/copy-webpack-plugin-6.0.1' 2020-05-27 12:03:15 +01:00
Oliver Blanthorn
3ff84e6166
Update to CopyWebPackPlugin v6 API 2020-05-27 12:01:22 +01:00
Oliver Blanthorn
1d42219e3e
Fix incorrect comment on webpack config
We've accidentally been running in dev mode for a while
but it doesn't seem to have broken anything and it means
that error messages are better, so let's keep it.
2020-05-27 10:53:36 +01:00
Oliver Blanthorn
1ba341ad9b
Tidy up webpack config and add dev-build comments 2020-05-09 10:45:32 +01:00
Oliver Blanthorn
a1648e18e8
Fix #2172: reduce size of Tridactyl scripts by 90% 2020-02-19 11:18:48 +00:00
Jakub Okoński
d22d1c9d52 Replace awesome-typescript-loader with ts-loader
awesome-typescript-loader seems to be unsupported, it hasn't been
updated in a year. Performance and features of ts-loader look to be
on par with the previous solution.
2019-10-20 12:49:06 +02:00
glacambre
51f88f51c9
Fix errors found by LGTM
https://lgtm.com/projects/g/tridactyl/tridactyl/overview/
2019-04-17 07:18:18 +02:00
glacambre
52103a0578
Add :issue excmd and autocmd to autofill new issues 2019-04-08 09:10:34 +02:00
Oliver Blanthorn
3ec27fd40c
Merge branch 'reorganize-directories' 2018-10-04 13:59:19 +01:00
Saul Reynolds-Haertle
ac114562b6 Configure absolute path resolution in ts and webpack
This lets us write imports like "@src/stuff" instead of "../../stuff"
2018-09-29 18:03:36 -07:00
glacambre
716e2fb615
Prevent webpack from minifying source code
a0ac1a2 upgraded Tridactyl's dependencies and webpack suddenly started
minifying the files it builds. This makes debugging much harder and thus
needs to be prevented. This is done by setting "mode" to "development"
in the module.exports object in webpack.config.js.
2018-09-15 06:23:36 +02:00
glacambre
125759b483
Keep newtab's changelog button grey once changelog has been read 2018-06-16 15:55:33 +02:00
glacambre
54e980499c
Add alias information to the :help page. 2018-06-03 15:04:50 +02:00
Oliver Blanthorn
60ce31f44c
Move CSS editing to JS 2018-04-21 23:43:12 +01:00
Colin Caine
2d3342af4b build: don't trust webpack shell plugin, exclude large images 2017-11-12 01:44:04 +00:00
Colin Caine
504f553926 build: Emit useless & in webpack config 2017-11-10 13:39:25 +00:00
Colin Caine
7ede4149a6 help: improve newtab and :help 2017-11-10 13:12:07 +00:00
Colin Caine
a0a29aec27 build: Fix build break when make_docs is slow 2017-11-09 05:54:10 +00:00
Colin Caine
b0b809b2d5 docs: copy docs to build dir! 2017-11-09 05:44:47 +00:00
Colin Caine
7697072be1 build: Move scripts out. Make generated files obv.
To speed up builds, typedoc is now run in the background, which means
that the build won't fail if typedoc fails.
2017-11-08 18:13:40 +00:00
Oliver Blanthorn
acf343f7b2
Add content script to help page 2017-11-03 19:04:21 +00:00
Colin Caine
8897d8929b excmds: Macro-ify excmds_background and content
excmds_background/content are now generated by python. New dependency,
python3!
2017-10-19 04:40:36 +01:00
Colin Caine
5964430fe1 Convert to es6 modules
Motivation:

 - Most test frameworks expect modules
 - I'm told they're the future

Changes:

 - Every typescript source file is now an es6 module
 - Build system is now webpack (tho rollup makes nicer outputs)
 - Outputs of buildsystem are one js file per entry point (background,
   content, commandline_frame)
 - These bundled js files are generated by traversing the dependency
   graph of each entry point
2017-10-02 01:17:32 +01:00