mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
const VueLoaderPlugin = require('vue-loader/lib/plugin')
|
|
|
|
module.exports = {
|
|
mode: 'development',
|
|
entry: {
|
|
'sequence_labeling': './static/js/sequence_labeling.js',
|
|
'document_classification': './static/js/document_classification.js',
|
|
'seq2seq': './static/js/seq2seq.js',
|
|
'projects': './static/js/projects.js',
|
|
'stats': './static/js/stats.js',
|
|
'label': './static/js/label.js',
|
|
'demo_text_classification': './static/js/demo/demo_text_classification.js',
|
|
'demo_named_entity': './static/js/demo/demo_named_entity.js',
|
|
'demo_translation': './static/js/demo/demo_translation.js'
|
|
},
|
|
output: {
|
|
path: __dirname + '/static/bundle',
|
|
filename: '[name].js'
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.vue$/,
|
|
loader: 'vue-loader'
|
|
}
|
|
]
|
|
},
|
|
plugins: [
|
|
new VueLoaderPlugin()
|
|
],
|
|
resolve: {
|
|
extensions: ['.js', '.vue'],
|
|
alias: {
|
|
vue$: 'vue/dist/vue.esm.js',
|
|
},
|
|
},
|
|
}
|