Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>pull/14218/head
parent
49a0ea01e5
commit
0a4569dff7
@ -0,0 +1,2 @@ |
||||
#webpack bundled files |
||||
js/additionalScripts.js |
@ -1,2 +0,0 @@ |
||||
@import 'sharetabview.scss'; |
||||
@import 'sharebreadcrumb.scss'; |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,5 +0,0 @@ |
||||
[ |
||||
"share.js", |
||||
"sharetabview.js", |
||||
"sharebreadcrumbview.js" |
||||
] |
@ -0,0 +1,6 @@ |
||||
import './share' |
||||
import './sharetabview' |
||||
import './sharebreadcrumbview' |
||||
|
||||
import './style/sharetabview.scss' |
||||
import './style/sharebreadcrumb.scss' |
@ -0,0 +1,37 @@ |
||||
const path = require('path'); |
||||
|
||||
module.exports = { |
||||
entry: path.join(__dirname, 'src', 'additionalScripts.js'), |
||||
output: { |
||||
path: path.resolve(__dirname, './js'), |
||||
publicPath: '/js/', |
||||
filename: 'additionalScripts.js' |
||||
}, |
||||
module: { |
||||
rules: [ |
||||
{ |
||||
test: /\.css$/, |
||||
use: ['style-loader', 'css-loader'] |
||||
}, |
||||
{ |
||||
test: /\.scss$/, |
||||
use: ['style-loader', 'css-loader', 'sass-loader'] |
||||
}, |
||||
{ |
||||
test: /\.js$/, |
||||
loader: 'babel-loader', |
||||
exclude: /node_modules/ |
||||
}, |
||||
{ |
||||
test: /\.(png|jpg|gif|svg)$/, |
||||
loader: 'file-loader', |
||||
options: { |
||||
name: '[name].[ext]?[hash]' |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
resolve: { |
||||
extensions: ['*', '.js'] |
||||
} |
||||
}; |
Loading…
Reference in new issue