Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deguchi committed Sep 17, 2021
1 parent 59139f3 commit 0c54f51
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 0 deletions.
116 changes: 116 additions & 0 deletions lib/DefaultItem.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,25 @@ module.exports = {
resolve: {
extensions: ['.tsx', '.ts', '.jsx', '.js']
},
}

module.exports = {
context: path.resolve(__dirname, 'src'),
// devtool: 'inline-source-map',
entry: './DefaultItem.tsx',
mode: 'development',
module: {
rules: [{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
}]
},
output: {
filename: './DefaultItem.js',
path: path.resolve(__dirname, 'lib')
},
resolve: {
extensions: ['.tsx', '.ts', '.jsx', '.js']
},
}

0 comments on commit 0c54f51

Please sign in to comment.