webpack-yaml-loader yarn add webpack-yaml-loader --dev rules: [ { test: /\.ya?ml$/, use: 'webpack-yaml-loader' } ];