Skip to content

Commit

Permalink
chore: 티켓 이미지를 이모지로 대체
Browse files Browse the repository at this point in the history
Co-authored-by: moonheekim0118 <hellomooneekim@gmail.com>
  • Loading branch information
euijinkk and moonheekim0118 committed Feb 23, 2022
1 parent aea694e commit d549f26
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 213 deletions.
9 changes: 0 additions & 9 deletions images/lotto_ticket.svg

This file was deleted.

182 changes: 0 additions & 182 deletions package-lock.json

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

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.5.1",
"prettier": "^2.5.1",
"style-loader": "^3.3.1",
"url-loader": "^4.1.1",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
Expand Down
4 changes: 1 addition & 3 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ h1 {

.lotto-list__ticket {
display: inline-block;
background-image: url('../../images/lotto_ticket.svg');
width: 34px;
height: 36px;
font-size: 34px;
margin-right: 8px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/js/view/LottoList.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class LottoListView {
.map(
lotto => `
<li class="lotto-list">
<span class="lotto-list__ticket"></span>
<span class="lotto-list__ticket">🎟️</span>
<span class="lotto-list__numbers">${[...lotto.values()].join(', ')}</span>
</li>`,
)
Expand Down
16 changes: 0 additions & 16 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,6 @@ module.exports = {
test: /\.css$/,
use: ['style-loader', 'css-loader'],
},
{
test: /\.svg$/,
loader: 'file-loader',
options: {
publicPath: './dist/',
name: '[name].[ext]?[hash]',
},
},
{
test: /\.svg$/,
loader: 'url-loader',
options: {
limit: 8000,
name: 'images/[hash]-[name].[ext]',
},
},
],
},
plugins: [
Expand Down

0 comments on commit d549f26

Please sign in to comment.