Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Aug 7, 2018
1 parent 26b60a6 commit 910fe76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Expand Up @@ -4,7 +4,7 @@ module.exports = {
options: {
input: ['main.js'],
manualChunks: {
'dynamic': ['dynamic.js']
dynamic: ['dynamic.js']
}
}
};
3 changes: 0 additions & 3 deletions test/function/samples/external-conflict/_config.js
@@ -1,6 +1,3 @@
var path = require('path');
var assert = require('assert');

module.exports = {
description: 'external paths from custom resolver remain external (#633)',
options: {
Expand Down
7 changes: 3 additions & 4 deletions test/function/samples/external-resolve-false/_config.js
@@ -1,21 +1,20 @@
var assert = require('assert');
var path = require('path');
const assert = require('assert');

module.exports = {
description: 'includes an external module with a false resolve return',
options: {
input: 'main.js',
plugins: [
{
resolveId: function(id) {
resolveId(id) {
if (id === './external')
return false;
}
}
]
},
context: {
require: function(required) {
require(required) {
assert.equal(required, './external');
return 1;
}
Expand Down

0 comments on commit 910fe76

Please sign in to comment.