parent
fc105d3bb0
commit
41ef3d860c
@ -1,2 +1,3 @@ |
||||
# compiled vue templates |
||||
js/templates.js |
||||
src/templates.js |
||||
js/comments.js |
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,14 +0,0 @@ |
||||
[ |
||||
"app.js", |
||||
"templates.js", |
||||
"commentmodel.js", |
||||
"commentcollection.js", |
||||
"commentsummarymodel.js", |
||||
"commentstabview.js", |
||||
"commentsmodifymenu.js", |
||||
"filesplugin.js", |
||||
"activitytabviewplugin.js", |
||||
"search.js", |
||||
"vendor/Caret.js/dist/jquery.caret.min.js", |
||||
"vendor/At.js/dist/js/jquery.atwho.min.js" |
||||
] |
@ -0,0 +1,18 @@ |
||||
import './app' |
||||
import './templates' |
||||
import './commentmodel' |
||||
import './commentcollection' |
||||
import './commentsummarymodel' |
||||
import './commentstabview' |
||||
import './commentsmodifymenu' |
||||
import './filesplugin' |
||||
import './activitytabviewplugin' |
||||
import './search' |
||||
|
||||
import './vendor/Caret.js/dist/jquery.caret.min' |
||||
import './vendor/At.js/dist/js/jquery.atwho.min' |
||||
|
||||
import './style/autocomplete.scss' |
||||
import './style/comments.scss' |
||||
|
||||
window.OCA.Comments = OCA.Comments; |
@ -0,0 +1,40 @@ |
||||
const path = require('path'); |
||||
|
||||
module.exports = { |
||||
entry: path.join(__dirname, 'src', 'comments.js'), |
||||
output: { |
||||
path: path.resolve(__dirname, './js'), |
||||
publicPath: '/js/', |
||||
filename: 'comments.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]' |
||||
} |
||||
} |
||||
] |
||||
}, |
||||
externals: { |
||||
jquery: 'jQuery' |
||||
}, |
||||
resolve: { |
||||
extensions: ['*', '.js'] |
||||
} |
||||
}; |
Loading…
Reference in new issue