Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22424075
webpack.config.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
577 B
Referenced Files
None
Subscribers
None
webpack.config.js
View Options
const
path
=
require
(
"path"
);
module
.
exports
=
[
{
name
:
"front-end-components"
,
entry
:
{
bundle
:
"./src/front/index.ts"
,
},
output
:
{
filename
:
"[name].js"
,
path
:
path
.
resolve
(
__dirname
,
"public/dist"
),
},
mode
:
"production"
,
devtool
:
"source-map"
,
resolve
:
{
extensions
:
[
".ts"
,
".js"
],
},
module
:
{
rules
:
[
{
test
:
/\.js$/
,
exclude
:
[
/node_modules/
],
use
:
[{
loader
:
"babel-loader"
}],
},
{
test
:
/\.ts$/
,
exclude
:
[
/node_modules/
],
use
:
[{
loader
:
"ts-loader"
}],
},
],
},
},
];
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Sat, Nov 28, 03:51 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1205526
Default Alt Text
webpack.config.js (577 B)
Attached To
Mode
rPHOTOAPP photo-app-demo
Attached
Detach File
Event Timeline