Skip to content

Commit

Permalink
changes webpack config to preserve the folder structure for font asse…
Browse files Browse the repository at this point in the history
…ts (#366)
  • Loading branch information
ifrim authored May 21, 2024
1 parent 9ef8df4 commit 189bd1c
Show file tree
Hide file tree
Showing 22 changed files with 10 additions and 162 deletions.
1 change: 0 additions & 1 deletion lib/c8df601cd07dcd5d5f41.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/index.js.map

Large diffs are not rendered by default.

Empty file.
151 changes: 0 additions & 151 deletions lib/sass/form/components/StringBuilder/sass/Stringbuilder.scss

This file was deleted.

2 changes: 1 addition & 1 deletion lib/tyk-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/tyk-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/tyk-ui.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tyk-technologies/tyk-ui",
"version": "3.1.0",
"version": "3.1.1",
"description": "Tyk UI - ui reusable components",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = {
exclude: [/images/],
type: 'asset/resource',
generator: {
filename: 'fonts/[name][ext]',
filename: ({ filename }) => path.relative('src/common', filename),
},
},
{
Expand Down

0 comments on commit 189bd1c

Please sign in to comment.