feat: Request and Responses Panes, CodeMirror View

This commit is contained in:
Anoop M D
2021-12-04 17:00:03 +05:30
parent f6732e66a0
commit 8b586bdfae
27 changed files with 10300 additions and 3290 deletions

View File

@ -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()
]
};