Skip to content

Commit a77fdfc

Browse files
committed
Quite the change
1 parent 9ff2f47 commit a77fdfc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+107262
-6148
lines changed

.gitignore

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Created by https://www.toptal.com/developers/gitignore/api/node
2-
# Edit at https://www.toptal.com/developers/gitignore?templates=node
1+
### custom ###
2+
*.build
33

44
### Node ###
55
# Logs
@@ -134,11 +134,4 @@ dist
134134

135135
### Node Patch ###
136136
# Serverless Webpack directories
137-
.webpack/
138-
139-
# Optional stylelint cache
140-
141-
# SvelteKit build / generate output
142-
.svelte-kit
143-
144-
# End of https://www.toptal.com/developers/gitignore/api/node
137+
.webpack/

build.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ mkdirSync(outdir, { recursive: true });
1313
// Copy public files
1414
cpSync('src/assets', join(outdir, 'assets'), { recursive: true });
1515
cpSync('src/dashboard', join(outdir, 'dashboard'), { recursive: true });
16-
cpSync('src/dashboard/feather.js', join(outdir, 'dashboard/feather.js'));
16+
1717
cpSync('src/editor', join(outdir, 'editor'), { recursive: true });
1818
cpSync('src/offscreen', join(outdir, 'offscreen'), { recursive: true });
1919
cpSync('src/popup', join(outdir, 'popup'), { recursive: true });
20-
cpSync('src/popup/feather.js', join(outdir, 'popup/feather.js'));
20+
2121
cpSync('src/manifest.json', join(outdir, 'manifest.json'));
2222

2323
// Copy feather-icons
2424
mkdirSync(join(outdir, 'vendor'));
25-
cpSync('node_modules/feather-icons/dist/feather.min.js', join(outdir, 'vendor/feather.min.js'));
25+
26+
2627

2728
cpSync('src/utils', join(outdir, 'utils'), { recursive: true });
2829

@@ -31,13 +32,10 @@ build({
3132
entryPoints: [
3233
'src/background/background.js',
3334
'src/utils/content_bridge.js',
34-
'src/utils/editor_managers.js',
35-
'src/utils/editor_settings.js',
3635
'src/utils/elementSelector.js',
3736
'src/utils/gm_core.js',
3837
'src/utils/greasyfork_interceptor.js',
3938
'src/utils/inject.js',
40-
'src/utils/metadataParser.js',
4139
'src/utils/urlMatchPattern.js',
4240
'src/popup/popup.js',
4341
'src/editor/editor.js',
@@ -47,5 +45,5 @@ build({
4745
outdir: outdir,
4846
logLevel: 'info',
4947
platform: 'browser',
50-
external: ['codemirror', 'jshint', 'js-beautify', '@codemirror/*', '@fsegurai/*', 'cm6-theme-basic-light', 'cm6-theme-solarized-dark', 'codemirror-theme-vars', '@uiw/*'],
48+
external: [],
5149
}).catch(() => process.exit(1));

build/assets/scripts/jshint.js

Lines changed: 32142 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)