* chore(stack update): update the whole docsearch stack In an effort to reduce our stack diversity I am moving docsearch to: - latest eslint - prettier - webpack 2 - babel 6 (babel 7 is soon to be released, we were on babel 5) - babel-preset-env (support: IE >=9, Two latest version of evergreen browsers). - jest * chore(contrib): remove develop branch, cc @redox
14 lines
283 B
JavaScript
14 lines
283 B
JavaScript
import baseConfig from './webpack.config.jsdelivr.babel';
|
|
import { join } from 'path';
|
|
|
|
export default {
|
|
...baseConfig,
|
|
devServer: {
|
|
contentBase: join(__dirname, 'dist/cdn'),
|
|
host: '0.0.0.0',
|
|
compress: true,
|
|
hot: true,
|
|
inline: true,
|
|
noInfo: true,
|
|
},
|
|
};
|