@roots/bud-entrypoints
Advanced tools
Comparing version 2.1.1 to 2.1.2
export function entrypoints(options) { | ||
const entrypoints = this.extensions.get( | ||
'@roots/bud-entrypoints', | ||
) | ||
entrypoints.setOptions( | ||
Object.assign( | ||
Object.assign({}, entrypoints.getOptions()), | ||
options, | ||
), | ||
) | ||
return this | ||
const entrypoints = this.extensions.get('@roots/bud-entrypoints'); | ||
entrypoints.setOptions(Object.assign(Object.assign({}, entrypoints.getOptions()), options)); | ||
return this; | ||
} | ||
//# sourceMappingURL=entrypoints.js.map | ||
//# sourceMappingURL=entrypoints.js.map |
@@ -1,9 +0,8 @@ | ||
import * as Entrypoints from '@roots/entrypoints-webpack-plugin' | ||
export * as api from './entrypoints' | ||
export const make = opts => | ||
new Entrypoints.Plugin(opts.getStore()) | ||
import * as Entrypoints from '@roots/entrypoints-webpack-plugin'; | ||
export * as api from './entrypoints'; | ||
export const make = opts => new Entrypoints.Plugin(opts.getStore()); | ||
export const options = { | ||
name: 'entrypoints.json', | ||
writeToFileEmit: true, | ||
} | ||
//# sourceMappingURL=index.js.map | ||
name: 'entrypoints.json', | ||
writeToFileEmit: true, | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@roots/bud-entrypoints", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Webpack tools", | ||
@@ -40,3 +40,3 @@ "repository": { | ||
"build:cjs": "tsc --build tsconfig.json", | ||
"build:ejm": "tsc --build tsconfig-ejs.json", | ||
"build:esm": "tsc --build tsconfig-ejs.json", | ||
"lint": "run-s lint:*", | ||
@@ -54,8 +54,8 @@ "lint:eslint": "eslint 'src/**/*.{js,ts,tsx}' --fix", | ||
"dependencies": { | ||
"@roots/entrypoints-webpack-plugin": "^2.1.1" | ||
"@roots/entrypoints-webpack-plugin": "^2.1.2" | ||
}, | ||
"devDependencies": { | ||
"@roots/bud-typings": "^2.1.1" | ||
"@roots/bud-typings": "^2.1.2" | ||
}, | ||
"gitHead": "9d736f0b44384c1f66b94462145c11e618aa166d" | ||
"gitHead": "9fb629f2bf9565389ba5daba35ff7759d384cd45" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
525172
120