Skip to content

Commit

Permalink
Fix: rename suffix for tgui-polyfill to min.js (tgstation#66309)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium authored Apr 19, 2022
1 parent a9e90af commit 934ace8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/tgui.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SUBSYSTEM_DEF(tgui)
/datum/controller/subsystem/tgui/PreInit()
basehtml = file2text('tgui/public/tgui.html')
// Inject inline polyfills
var/polyfill = file2text('tgui/public/tgui-polyfill.bundle.js')
var/polyfill = file2text('tgui/public/tgui-polyfill.min.js')
polyfill = "<script>\n[polyfill]\n</script>"
basehtml = replacetextEx(basehtml, "<!-- tgui:inline-polyfill -->", polyfill)

Expand Down
2 changes: 1 addition & 1 deletion tgui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package-lock.json
/public/.tmp/**/*
/public/**/*
!/public/*.html
!/public/tgui-polyfill.bundle.js
!/public/tgui-polyfill.min.js
/coverage

## Previously ignored locations that are kept to avoid confusing git
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "tgui-polyfill",
"version": "4.3.0",
"scripts": {
"tgui-polyfill:build": "terser 00-html5shiv.js 01-ie8.js 02-dom4.js 03-css-om.js 10-misc.js --ie8 -f ascii_only,comments=false -o ../../public/tgui-polyfill.bundle.js"
"tgui-polyfill:build": "terser 00-html5shiv.js 01-ie8.js 02-dom4.js 03-css-om.js 10-misc.js --ie8 -f ascii_only,comments=false -o ../../public/tgui-polyfill.min.js"
},
"dependencies": {
"core-js": "^3.16.1",
Expand Down
File renamed without changes.

0 comments on commit 934ace8

Please sign in to comment.