influxdb/ui/webpack.dev.ts

49 lines
1.1 KiB
TypeScript
Raw Normal View History

export {}
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')
const merge = require('webpack-merge')
const webpack = require('webpack')
const common = require('./webpack.common.ts')
const path = require('path')
module.exports = merge(common, {
mode: 'development',
devtool: 'cheap-inline-source-map',
output: {
filename: '[name].js',
},
devServer: {
hot: true,
historyApiFallback: true,
compress: true,
proxy: {
'/api/v2': 'http://localhost:9999',
style(clockface): upgrade to 0.0.18 (#14458) * Update dependency * Fix appearance of signin form * Fix appearance of inline label editor * Update implementation of dropdown * Remove comment * Fix appearance of auto refresh dropdown * Update implementation of time range dropdown * Update implementation of time zone dropdown * Update implementation of window selector * Fix missing button text in window selector Oooooops * Update implementation of time format dropdown * Update implementation of column selector * Update implementation of geometry dropdown * Ensure line graphs have a default color palette * Update implementation of color scheme dropdown * Update implementation of heat map color selector * Update dropdown implementations in histogram options * Update implementation of Variable Builder dropdowns * Update implementation of buckets dropdown * Tweak color of slide toggle in token row to be green * Update implementation of Generate Token dropdown * Update snapshot tests * Update bucket dropdown tests * Fix query builder test * Update onboarding buttons test * Fix some e2e tests * Fix tokens e2e tests * Fix variables e2e tests * Update implemenation of view type dropdown Also removing the empty view type from existence Co-Authored-By: Christopher Henn <chnn@users.noreply.github.com> * Fix query builder add card button Made it less prone to breakage * Fix appearance of VEO * Update styles of renamable page title * Update styles using button or icon or input * Ensure time range dropdown is not blank initially * Update implementation of variable tooltip dropdown * Update implementation of dropdowns in Add Members form * Update implementation of Color dropdown * Update implementation of dropdowns in scatter plot options * Upddate implementation of precision dropdown * Update implementation of sort by table option dropdown * Update implementation of dashboards dropdown in save as menu * Update implementations of dropdowns in task form * Update Variable control bar dropdowns * Delete unused component * Remove unused imports * Update bucket dropdown implementation in delete data form * Update searchable dropdown to use new clockface components * Delete local dropdown components * Fix failing unit tests * blerp * Coerce type in view type dropdown * Fix onboarding styles * Fix e2e tests Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com> * Fix last e2e test Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com> * build(e2e): allow cypress to run with webpack dev server
2019-07-25 19:13:51 +00:00
'/debug/flush': 'http://localhost:9999',
},
},
module: {
rules: [
{
test: /\.s?css$/i,
use: [
'style-loader',
'css-loader',
{
loader: 'sass-loader',
options: {
implementation: require('sass'),
hmr: true,
},
},
],
},
],
},
plugins: [
new webpack.DllReferencePlugin({
context: path.join(__dirname, 'build'),
manifest: require('./build/vendor-manifest.json'),
}),
new ForkTsCheckerWebpackPlugin(),
],
})