Skip to content

Commit

Permalink
Merge pull request #298 from lblod/enhancement/besluit-types-fetch-fr…
Browse files Browse the repository at this point in the history
…om-endpoint

Changes for new besluit-type-plugin
  • Loading branch information
nvdk authored Aug 12, 2022
2 parents 5e50cee + a31f295 commit 3e25b63
Show file tree
Hide file tree
Showing 5 changed files with 28,421 additions and 39,539 deletions.
14 changes: 14 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const envIsProduction = process.env.EMBER_ENV === 'production';
const webpack = require('webpack');

module.exports = function (defaults) {
let app = new EmberApp(defaults, {
Expand Down Expand Up @@ -35,6 +36,19 @@ module.exports = function (defaults) {
babel: {
sourceMaps: 'inline',
},
autoImport: {
webpack: {
plugins: [
//This is for the besluit-type-plugin. The SPARQL fetcher is made compatible with an older version of Webpack where this module was packaged by default.
new webpack.ProvidePlugin({
process: 'process/browser',
}),
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
],
},
},
});

// Use `app.import` to add additional libraries to the generated
Expand Down
Loading

0 comments on commit 3e25b63

Please sign in to comment.