Commit a72d46c5 authored by Élodie Thiéblin's avatar Élodie Thiéblin
Browse files

feat: copy rcfexpense configuration in dist

parent 2775ec895c0e
......@@ -209,7 +209,7 @@
var sparnatural;
$(document).ready(function ($) {
sparnatural = $("#ui-search").Sparnatural({
config: "http://localhost:8000/rcfexpense_sparnatural.ttl",
config: "./rcfexpense_sparnatural.ttl",
language: "fr",
maxDepth: 4,
addDistinct: true,
......
......@@ -64,7 +64,7 @@ module.exports = {
new HtmlWebpackPlugin({
template: __dirname + "/src/index.html",
inject: 'body'
}),
}),
new HtmlWebpackPlugin({
filename: 'wikidata.html',
template: __dirname + "/src/wikidata.html",
......@@ -75,7 +75,8 @@ module.exports = {
chunkFilename: "[id].css"
}),
new CopyPlugin([
{ from: 'static' }
{ from: 'static' },
{ from: 'rcfexpense_sparnatural.ttl' }
]),
new DashboardPlugin(),
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment