Skip to content

Commit

Permalink
[#20] 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
Winters0727 committed Sep 24, 2021
1 parent 9ad0c2b commit d93ea8a
Show file tree
Hide file tree
Showing 11 changed files with 186 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,6 @@ dist
.yarn/install-state.gz
.pnp.*

# End of https://www.toptal.com/developers/gitignore/api/node
videos/

# End of https://www.toptal.com/developers/gitignore/api/node
1 change: 1 addition & 0 deletions public/image/address_marker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions public/image/ic_cloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/image/ic_exit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/image/ic_kakao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/image/ic_share.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions public/image/ic_volume.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions public/image/ic_volume_off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/image/left_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/image/right_btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
mode: "development",
entry: [
"@babel/polyfill",
"./src/js/main.js",
],
output: {
path:path.join(__dirname, "/public"),
filename:'./javascripts/[name]_bundle.js',
publicPath:'./',
assetModuleFilename: './images/[name][ext]'
},
module: {
rules:[
{
test:/\.scss$/,
use: [
'style-loader',
'css-loader',
'sass-loader'
],
exclude: /node_modules/
},
{
test:/\.js$/,
use: [
{
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
],
exclude: /node_modules/
},
{
test: /\.(png|svg|jpg|jpeg|gif)$/,
type: 'asset/resource'
},
]
},

plugins:[
new HtmlWebpackPlugin({
template: './src/html/main.html',
filename: './html/main.html'
})
]



}

0 comments on commit d93ea8a

Please sign in to comment.