mirror of
https://github.com/usebruno/bruno.git
synced 2025-08-15 18:53:38 +02:00
feat: Request and Responses Panes, CodeMirror View
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
const path = require('path');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: "./src/index.js",
|
||||
output: {
|
||||
publicPath: '',
|
||||
globalObject: 'this',
|
||||
filename: "index.js",
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
@ -17,15 +19,27 @@ module.exports = {
|
||||
use: {
|
||||
loader: "babel-loader"
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: [ MiniCssExtractPlugin.loader, 'css-loader' ]
|
||||
}
|
||||
]
|
||||
},
|
||||
externals: {
|
||||
'react': 'react',
|
||||
'lodash': 'lodash',
|
||||
'styled-components': 'styled-components',
|
||||
'@tabler/icon': '@tabler/icon',
|
||||
'@tippyjs/react': '@tippyjs/react',
|
||||
'@tabler/icons': '@tabler/icons',
|
||||
'@fortawesome/free-solid-svg-icons': '@fortawesome/free-solid-svg-icons',
|
||||
'@fortawesome/react-fontawesome': '@fortawesome/react-fontawesome',
|
||||
'classnames': 'classnames'
|
||||
}
|
||||
'classnames': 'classnames',
|
||||
'react-tabs': 'react-tabs',
|
||||
'codemirror': 'codemirror',
|
||||
'graphql-request': 'graphql-request'
|
||||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin()
|
||||
]
|
||||
};
|
Reference in New Issue
Block a user